We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
aws
In some places of the Constructs library, ARNs are built using the string aws as the partition. For instance:
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3/lib/index.ts
Lines 95 to 100 in 50d3e9c
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/lambda-helper.ts
Line 66 in 2740df7
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/apigateway-helper.ts
Line 46 in abddeed
This can cause problems when deploying to AWS China or AWS GovCloud (US) regions.
Suggestion is to use the PARTITION property of the Aws class in the CDK:
PARTITION
Aws
resources: [`arn:${cdk.Aws.PARTITION}:logs:${cdk.Aws.REGION}:${cdk.Aws.ACCOUNT_ID}:log-group:/aws/lambda/*`]
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
This has been fixed in v1.64.0
Sorry, something went wrong.
hnishar
No branches or pull requests
In some places of the Constructs library, ARNs are built using the string
aws
as the partition. For instance:aws-solutions-constructs/source/patterns/@aws-solutions-constructs/aws-kinesisfirehose-s3/lib/index.ts
Lines 95 to 100 in 50d3e9c
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/lambda-helper.ts
Line 66 in 2740df7
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/apigateway-helper.ts
Line 46 in abddeed
This can cause problems when deploying to AWS China or AWS GovCloud (US) regions.
Environment
Other
Suggestion is to use the
PARTITION
property of theAws
class in the CDK:This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: