I am looking to deploy a create-react-app as a static site to AWS S3. The build is being orchestrated with CodePipeline.
Our codebase has REACT_APP_**** variables that are injected during the build. How do I inject different variables for our QA and Prod stage of the pipeline. These variables are pointing to different configurations for backend and auth systems.
As part of the pipeline CodeBuild only runs one time so can't figure out how to inject different variable for QA and Prod.