Skip to content

Commit

Permalink
Add content to exceptions as the content of files can be complicated
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Jan 4, 2019
1 parent ea403e6 commit 932a82f
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 932a82f

Please sign in to comment.