Skip to content

Commit

Permalink
Merge pull request aws-cloudformation#554 from kddejong/Fix/E1029
Browse files Browse the repository at this point in the history
Add content to exceptions as the content of files can be complicated
  • Loading branch information
kddejong authored Jan 4, 2019
2 parents ea403e6 + 932a82f commit 7240dff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cfnlint/rules/functions/SubNeeded.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class SubNeeded(CloudFormationLintRule):
tags = ['functions', 'sub']

# Free-form text properties to exclude from this rule
excludes = ['UserData', 'ZipFile', 'Resource', 'Condition']
# content is part of AWS::CloudFormation::Init
excludes = ['UserData', 'ZipFile', 'Resource', 'Condition', 'AWS::CloudFormation::Init']
api_excludes = ['Uri', 'Body']

def _match_values(self, searchRegex, cfnelem, path):
Expand Down

0 comments on commit 7240dff

Please sign in to comment.