Closed jakxnz closed 2 years ago
Hi Jackson, thanks for raising an issue, and including useful detail.
If you check the events in the embedded stack arn:aws:cloudformation:ap-southeast-2:921529881624:stack/name/e15255d0-198f-11ec-b726-02a7eba5ab24
, is there a more descriptive reason for theCFNCustomProvider
failing?
If there isn't more detail, an alternative place to check is the logs for the lambda function acting as the custom resource CFNCustomProvider
. These can be found in the the Cloudwatch logs group for that lambda function.
Not sure if it's for the exact same reason, but here is an error occuring in the embedded stack :
Resource handler returned message: "Error occurred while GetObject. S3 Error Code: PermanentRedirect. S3 Error Message: The bucket is in this region: us-east-1. Please use this region to retry the request (Service: Lambda, Status Code: 400, Request ID: 61242b39-ccfb-4eec-be99-2f5b73701416, Extended Request ID: null)" (RequestToken: 5f8b59fa-1632-2d4c-7fa1-1477df191d35, HandlerErrorCode: InvalidRequest)
Hi @bob-user
You might be getting this error if you deploy the template in a region that is not us-east-1
.
It's a limitation of the current sample that it can only be deployed the region us-east-1
. See #19 for the tracking issue.
I can't seem to successfully deploy with command
aws cloudformation deploy
, or find any resources about the error:Steps to reproduce:
Expected result:
Actual result:
The deployment fails during
CREATE_IN_PROGRESS
.CLI outputs:
aws cloudformation describe-stack-events --stack-name name
: