File tree 2 files changed +10
-0
lines changed
src/cfnlint/rules/functions
test/unit/rules/functions 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ def __init__(self):
30
30
self ._resource_type_exceptions = [
31
31
"AWS::CloudFormation::CustomResource" ,
32
32
"AWS::CloudFormation::Stack" ,
33
+ "AWS::ServiceCatalog::CloudFormationProvisionedProduct" ,
33
34
]
34
35
35
36
def validate (
Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ def template():
24
24
"MySecurityGroup" : {"Type" : "AWS::EC2::SecurityGroup" },
25
25
"MyCustomResource" : {"Type" : "Custom::CustomResource" },
26
26
"MySubTemplate" : {"Type" : "AWS::CloudFormation::Stack" },
27
+ "MyProvisionedProduct" : {
28
+ "Type" : "AWS::ServiceCatalog::CloudFormationProvisionedProduct"
29
+ },
27
30
},
28
31
}
29
32
@@ -49,6 +52,12 @@ def template():
49
52
{"format" : "AWS::EC2::VPC.Id" },
50
53
[],
51
54
),
55
+ (
56
+ "Valid GetAtt to a provisioned product " ,
57
+ ["MyProvisionedProduct" , "Outputs.VpcId" ],
58
+ {"format" : "AWS::EC2::VPC.Id" },
59
+ [],
60
+ ),
52
61
(
53
62
"Valid GetAtt because of exception" ,
54
63
["MyBucket" , "Arn" ],
You can’t perform that action at this time.
0 commit comments