amazon-archives / aws-waf-sample

This repository contains example scripts and sets of rules for the AWS WAF service. Please be aware that the applicability of these examples to specific workloads may vary.
MIT No Attribution
512 stars 225 forks source link

Cloudformation template failed launch Stack #22

Open jdeesh735 opened 7 years ago

jdeesh735 commented 7 years ago

Hi all, When i launch your Cloudformation template in my account it failed and it is Roll backed,i get below error.It is not recognize my existing S3 bucket name and new S3 bucket name also. Error: Error occurred while GetObject. S3 Error Code: NoSuchBucket. S3 Error Message: The specified bucket does not exist

briplist cf error

anupsabraham commented 7 years ago

I managed to get this fixed by uploading the parser.zip file in one of my own S3 buckets and changing this line in the json to

"S3Bucket": "<bucket_name>",
"S3Key": "parser.zip"

I also had to create an S3 bucket manually for cloudfront logs and specified the url for that in the second step.

Hope this helps.

ranvijayj commented 7 years ago

@anupsabraham DId you specify the whole URL in the bucketname in the second step?

anupsabraham commented 7 years ago

@ranvijayj : Yes. I used the whole URL in second step.