You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I review the source code of aws-cdk, I think the following code is the root cause. The arn may should use bucket's arn otherwise hard code arn:aws:s3:::....
instead of assuming `aws` partition, use the stack to determine partition (which will result in a reference to `AWS::Partition`)
fixes#18429
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
TikiTDO
pushed a commit
to TikiTDO/aws-cdk
that referenced
this issue
Feb 21, 2022
instead of assuming `aws` partition, use the stack to determine partition (which will result in a reference to `AWS::Partition`)
fixesaws#18429
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
What is the problem?
We use
aws-gov
cloud. And I try to bind s3 environment to ecs. The generated cloud formation of the config is stillarn:aws:s3:::....
.following is the sample code
I review the source code of
aws-cdk
, I think the following code is the root cause. The arn may should use bucket's arn otherwise hard codearn:aws:s3:::....
aws-cdk/packages/@aws-cdk/aws-ecs/lib/container-definition.ts
Line 771 in 4937cd0
Reproduction Steps
What did you expect to happen?
cloud formation of the container environment should start with
arn:aws-gov:s3:::.....
What actually happened?
cloud formation of the container environment starts with
arn:aws:s3:::.....
CDK CLI Version
2.8.0 (build 8a5eb49)
Framework Version
No response
Node.js Version
v16.13.1
OS
macOS 12.1 21C52 arm64
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: