Skip to content
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

fix(core): properties set to false are not rendered in the template #10539

Merged
merged 2 commits into from
Sep 30, 2020

Conversation

nija-at
Copy link
Contributor

@nija-at nija-at commented Sep 25, 2020

Any CloudFormation resource that defines a single boolean property set
to false is not rendered to the CloudFormation template.

The bug is in implementation of _toCloudFormation() API in
CfnResource. It treated false and undefined the same way.

fixes #10455


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Any CloudFormation resource that defines a single boolean property set
to false is not rendered to the CloudFormation template.

The bug is in implementation of `_toCloudFormation()` API in
`CfnResource`. It treated `false` and `undefined` the same way.

fixes #10455
@nija-at nija-at requested review from rix0rrr, njlynch and a team September 25, 2020 16:26
@nija-at nija-at self-assigned this Sep 25, 2020
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Sep 25, 2020
@nija-at nija-at changed the title fix(core): properties set to false are not rendered to the template fix(core): properties set to false are not rendered in the template Sep 25, 2020
@mergify
Copy link
Contributor

mergify bot commented Sep 30, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Sep 30, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit b42d4e9 into master Sep 30, 2020
@mergify mergify bot deleted the nija-at/core-fixfalse branch September 30, 2020 11:34
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: fcd1994
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[core] Unable to set CfnIdentityPoolProps allowUnauthenticatedIdentities to false
3 participants