-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Assets Error: The bucket is in this region: #159
Comments
thank you for reporting this. we are working on a fix |
In the meantime, is there a workaround for this other than creating a separate single-region StackSet for each region? |
unfortunately that is the guidance at this point where you would have a single stackset per region. thanks for your patience on the fix. this is prioritized and my goal is to have something up soon. |
What do you think about the approach taken here? |
@josh-demuth Any news? |
thanks for your patience. PR just opened. what Philipp did was in line with what we were discussing as well. |
Fixes #159 Added support to use file assets across multiple regions in one stackset. This still requires to pass the asset bucket(s) to the construct. It also uses a bucket "prefix" which the stackset construct will append "-${region}" to the end of the bucket name. For example, all asset buckets across each region will need to have the same prefix like "assetbucket" and will need the region appended at the end "assetbucket-us-east-1" "assetbucket-us-west-2". it is out of scope of the construct to create these buckets at this time.
With the following code:
`
app = App()
I get this error
"Error occurred while GetObject. S3 Error Code: PermanentRedirect. S3 Error Message: The bucket is in this region: eu-central-1. Please use this region to retry the request "
If I remove "eu-west-1" from deploy_regions I don't get this error and deployment is successful.
The text was updated successfully, but these errors were encountered: