From cab830073fef106d6ee9dcbaf15b7090de1e7858 Mon Sep 17 00:00:00 2001 From: mikewrighton Date: Mon, 9 Sep 2024 15:05:22 -0400 Subject: [PATCH] Add missing file. --- .../tags-with-invalid-intrinsics.json | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 packages/aws-cdk-lib/cloudformation-include/test/test-templates/tags-with-invalid-intrinsics.json diff --git a/packages/aws-cdk-lib/cloudformation-include/test/test-templates/tags-with-invalid-intrinsics.json b/packages/aws-cdk-lib/cloudformation-include/test/test-templates/tags-with-invalid-intrinsics.json new file mode 100644 index 0000000000000..81c8368f88521 --- /dev/null +++ b/packages/aws-cdk-lib/cloudformation-include/test/test-templates/tags-with-invalid-intrinsics.json @@ -0,0 +1,46 @@ +{ + "Parameters": { + "Param": { + "Type": "CommaDelimitedList", + "Default": "key,value" + } + }, + "Conditions": { + "ShouldIncludeTag": { + "Fn::Equals": [2, 2] + } + }, + "Resources": { + "Bucket": { + "Type": "AWS::S3::Bucket", + "Properties": { + "BucketName": "cdk-integ-cfn-include-bucket2", + "Tags": [ + { + "Key": "Key1", + "Value": "Value1" + }, + { + "Fn::If": [ + "NonExistentCondition", + { + "Key": { + "Fn::Select": [ + 0, + { + "Ref": "Param" + } + ] + }, + "Value": "TagValue" + }, + { + "Ref": "AWS::NoValue" + } + ] + } + ] + } + } + } +} \ No newline at end of file