Open pa-wills opened 2 years ago
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/conditions-sample-templates.html
Conditional resource creation based on env-type. Excellent! This will allow me to keep a single template for both envs / stages.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-basic-walkthrough.html
So, I would like to have a test environment separate from the production environment.
The above walkthrough deals with the requirement in the following way:
I think this is the way to proceed.
Something else - how would I handle development off the master branch? Presumably by instantiating the stack separately. I.e. one pipeline instance per branch, and 2 envs per pipeline. I think this makes sense. I don't necessarily need to us the pipeline for the dev branch either - i could just get CF to build it directly from the GUI, or use sam on the console.