Exemple of infrastructure as code with cloudformation and ECR cluster
aws s3 cp infra s3://devops-sample-201701/ --recursive --exclude "" --include ".yml"
aws cloudformation validate-template --template-body file:///Users/[pathtoyourproject]/infra/multifile/DevopsSample.yml
aws cloudformation create-stack --stack-name myteststack --capabilities CAPABILITY_NAMED_IAM --template-body file:///Users/[pathtoyourproject]/infra/multifile/DevopsSample.yml
aws cloudformation update-stack --stack-name myteststack --template-body file:///Users/[pathtoyourproject]/infra/multifile/DevopsSample.yml