Hi, I am using codePipeline to create a stackset in order to deploy my lambda function in different region.
In the beginig of the codePipeline set, I specify the artifact store into ap-north-east-1
And the following is how my code pipeline stage looks like
In the build stage, I have this buildspec.yaml, which package my source code and template-yaml to s3(ap-north-east-1, which I create manually earlier)
I got failed in the Deploy stage 2nd part, the 1st part is creating a stackset and initiate a stack in ap-north-east-1
1st part of the deploy stage looks like this:
2nd part of the deploy stage looks like this:(I am tring to expand the stack to the another 2 regions)
This is the detail of the error for the 2nd part of the deploy stage.
Regions that is not in ap-north-east-1 are failed to create
The error details
ResourceLogicalId:DBShutDownFunction, ResourceType:AWS::Lambda::Function, ResourceStatusReason:Resource handler returned message: "Error occurred while GetObject. S3 Error Code: PermanentRedirect. S3 Error Message: The bucket is in this region: ap-northeast-1. Please use this region to retry the request, this is the error shows in the ap-northease-3 region.
Cancelled since failure tolerance has exceeded ,this is the error shows in the ap-east1 region.
Could anyone help?
Hi there.
Can you share the status reason that failed? The image is hard to read. Thanks.
HI Joes,
Sorry, I just realized the pictures are not able to be enlarged... The error said """ResourceLogicalId:DBShutDownFunction, ResourceType:AWS::Lambda::Function, ResourceStatusReason:Resource handler returned message: "Error occurred while GetObject. S3 Error Code: PermanentRedirect. S3 Error Message: The bucket is in this region: ap-northeast-1. Please use this region to retry the request""", this is the error shows in the ap-northease-3 region.
"""Cancelled since failure tolerance has exceeded""" ,this is the error shows in the ap-east1 region.