aws-samples / aws-kube-code-service

The Code Services Continuous Deployment reference architecture demonstrates how to achieve continuous deployment of an application to a Kubernetes cluster using AWS CodePipeline, AWS CodeCommit, AWS CodeBuild and AWS Lambda.
Apache License 2.0
190 stars 159 forks source link

Cannot change name of CloudFormation Stack #7

Open benphunter opened 6 years ago

benphunter commented 6 years ago

If you change the name of the CF stack then deployment will fail due to the s3 bucket name being generated off the CF template name. For example I used the template name "codesuite-k8s-demo", this caused the error:

Starting new HTTPS connection (1): codesuite-k8s-demo-public.s3.amazonaws.com

Error: An error occurred (NoSuchBucket) when calling the ListObjectsV2 operation: The specified bucket does not exist

The template must connect to the source bucket codesuite-demo-public.s3.amazonaws.com