aws-solutions / aws-waf-security-automations

This solution automatically deploys a single web access control list (web ACL) with a set of AWS WAF rules designed to filter common web-based attacks.
https://aws.amazon.com/solutions/aws-waf-security-automations
Apache License 2.0
845 stars 361 forks source link

failed to create: [Helper] #113

Closed matharuajay closed 1 year ago

matharuajay commented 4 years ago

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

CameronMcAuley commented 4 years 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

aijunpeng commented 4 years ago

Added a backlog item for #154.

aijunpeng commented 1 year ago

The readme instructions have been updated to provide more clarity. close the ticket.