File tree 2 files changed +4
-3
lines changed
src/cfnlint/rules/functions
test/unit/rules/functions
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ def __init__(self):
24
24
self .parent_rules = ["E1010" ]
25
25
self ._exceptions = [
26
26
# Need to measure for completeness of automation
27
- "AWS::EC2::SecurityGroup.GroupId" ,
28
- "AWS::EC2::SecurityGroup.GroupIds" ,
27
+ # "AWS::EC2::SecurityGroup.GroupId",
28
+ # "AWS::EC2::SecurityGroup.GroupIds",
29
29
]
30
30
self ._resource_type_exceptions = [
31
31
"AWS::CloudFormation::CustomResource" ,
Original file line number Diff line number Diff line change 12
12
@pytest .fixture (scope = "module" )
13
13
def rule ():
14
14
rule = GetAttFormat ()
15
+ rule ._exceptions = ["AWS::EC2::SecurityGroup.Id" ]
15
16
yield rule
16
17
17
18
@@ -62,7 +63,7 @@ def template():
62
63
(
63
64
"Valid GetAtt because of exception" ,
64
65
["MyBucket" , "Arn" ],
65
- {"format" : "AWS::EC2::SecurityGroup.GroupId " },
66
+ {"format" : "AWS::EC2::SecurityGroup.Id " },
66
67
[],
67
68
),
68
69
(
You can’t perform that action at this time.
0 commit comments