PaloAltoNetworks / aws-elb-autoscaling

Auto Scaling VM-Series firewalls in AWS
http://live.paloaltonetworks.com/cloudtemplate
58 stars 64 forks source link

2.1 LambdaCustomResource - Invalid Response object: 'FAILURE' is not a valid ResponseStatus #23

Open arranpeterson opened 5 years ago

arranpeterson commented 5 years ago

When executing the 2.1: firewall-new-vpc-v2.1.template

The cloudFormation stack fails at Logical ID: LambdaCustomResource Response Status: Invalid Response object: 'FAILURE' is not a valid ResponseStatus

Region AP-SOUTHEAST-2 VpcAzs: ap-southeast-2a,ap-southeast-2b,ap-southeast-2c VPCName: panwVPC SubscriberAWSAccountNumber: SSHLocation: 0.0.0.0/0 PanoramaAdminUser: jtwoadmin PanFwAmiId: ami-0a31b0cc246e903e2 NumberOfAZs: 3 LambdaS3Bucket: panw-aws-autoscale-v20-ap-southeast-2 KeyPANWPanorama: KeyPANWFirewall: KeyName: ** ELBType:application ELBName: public-exlb Debug: No BootstrapS3Bucket: xx

**** We have noticed that the S3 bucket reference to panw-aws-autoscale-v21-ap-southeast-2, doesn't exist so we have used panw-aws-autoscale-v20-ap-southeast-2 which we have validated with

https://s3-ap-southeast-2.amazonaws.com/panw-aws-autoscale-v20-ap-southeast-2

aku26 commented 4 years ago

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html

Valid codes are : SUCCESS and FAILED

joshimayuresh commented 4 years ago

Create different S3 bucket with unique name and all the folder structure in it

grohan2002 commented 3 years ago

@joshimayuresh I tried creating the s3 bucket with a unique name and folder structure. Still it fails with the same error.