Closed matharuajay closed 1 year ago
The dist bucket itself needs to have a region appended to the end of the name. However, the DIST_OUTPUT_BUCKET variable that is exported before running the ./build-s3-dist.sh needs to be your bucket name without the region. The CloudFormation stack appends the region again later.
See this issue: https://github.com/awslabs/aws-waf-security-automations/issues/154
Added a backlog item for #154.
The readme instructions have been updated to provide more clarity. close the ticket.
I am confused whats the difference between template bucket and dist bucket?
Also if i try to give same bucket name which has all my templates and zip files i get this error
The following resource(s) failed to create: [Helper]. . Rollback requested by user. | AWS::CloudFormation::Stack 2020-01-02 11:46:33 UTC+0800 | Helper | CREATE_FAILED | Error occurred while GetObject. S3 Error Code: NoSuchBucket. S3 Error Message: The specified bucket does not exist (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: 5d15627c-8e67-4258-b633-ab6d66d7d15e) | AWS::Lambda::Function