-
Couldn't load subscription status.
- Fork 4.3k
Closed
DataDog/serverless-sample-app
#499Labels
@aws-cdk/cloudformation-includeIssues related to the "CFN include v.20" packageIssues related to the "CFN include v.20" package@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp2
Description
What is the problem?
When trying to include a template with the cloudformation-include module that uses { Ref: 'AWS::NoValue' } for a boolean-typed property, you get an error like:
Error: Expected 'true' or 'false' for boolean value, got: '${Token[AWS.NoValue.7]}'
Reproduction Steps
Here's a minimal template showing the issue:
AWSTemplateFormatVersion: "2010-09-09"
Resources:
CloudFrontDistribution:
Type: "AWS::CloudFront::Distribution"
Properties:
DistributionConfig:
Enabled: "true"
ViewerCertificate:
CloudFrontDefaultCertificate:
Ref: "AWS::NoValue"Metadata
Metadata
Assignees
Labels
@aws-cdk/cloudformation-includeIssues related to the "CFN include v.20" packageIssues related to the "CFN include v.20" package@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp2