-
Notifications
You must be signed in to change notification settings - Fork 4k
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
YAML output doesn't quote string literals eagerly enough #1100
Labels
bug
This issue is a bug.
Comments
rix0rrr
added a commit
that referenced
this issue
Nov 8, 2018
rix0rrr
pushed a commit
that referenced
this issue
Nov 8, 2018
Bug Fixes ========== * correctly emit quoted YAML for account numbers ([#1105](#1105)) ([b4d9155](b4d9155)), closes [#1100](#1100) [#1098](#1098) * **aws-ecs:** fix use of published NPM package with TypeScript ([#1117](#1117)) ([ebfb522](ebfb522)) Features ========== * **aws-ecs:** Add desired count to LoadBalanced[Fargate|EC2]Service ([#1111](#1111)) ([cafcc11](cafcc11))
Merged
rix0rrr
added a commit
that referenced
this issue
Nov 8, 2018
Bug Fixes ========== * correctly emit quoted YAML for account numbers ([#1105](#1105)) ([b4d9155](b4d9155)), closes [#1100](#1100) [#1098](#1098) * **aws-ecs:** fix use of published NPM package with TypeScript ([#1117](#1117)) ([ebfb522](ebfb522)) Features ========== * **aws-ecs:** Add desired count to LoadBalanced[Fargate|EC2]Service ([#1111](#1111)) ([cafcc11](cafcc11))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When creating a
@aws-cdk/aws-lambda.Permission
, the#principal
attribute can be set to the account ID of a trusted account, passed as astring
literal. The current YAML serializer of the CDK encodes account IDs such as012345678912
without quoting, and consequently aYAML
parser may interpret this sequence as a number. When this happens, the leading zero(es) are dropped and the account ID is no longer valid.The text was updated successfully, but these errors were encountered: