You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform
Darwin $hostname.domain.redacted$ 18.7.0 Darwin Kernel Version 18.7.0: Thu Jan 23 06:52:12 PST 2020; root:xnu-4903.278.25~1/RELEASE_X86_64 x86_64
MacOS Mojave 10.14.6
Also verified behavior in:
Linux $hostname.domain.redacted$ 4.9.184-0.1.ac.235.83.329.metal1.x86_64 #1 SMP Tue Jul 30 17:17:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Description of issue.
cfn-lint template.yml hangs indefinitely.
Please provide as much information as possible:
Template linting issues:
Please provide a CloudFormation sample that generated the issue.
Save the above template to a file named template.yml
run cfn-lint template.yml
... hangs ... (waited for 5 minutes)
on ctrl-c:
^CTraceback (most recent call last):
File "/usr/local/bin/cfn-lint", line 11, in <module>
load_entry_point('cfn-lint==0.28.4', 'console_scripts', 'cfn-lint')()
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/__main__.py", line 23, in main
cfnlint.core.run_cli(
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/core.py", line 45, in run_cli
return run_checks(filename, template, rules, regions, mandatory_rules)
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/core.py", line 186, in run_checks
matches.extend(runner.run())
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/__init__.py", line 1017, in run
self.rules.run(
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/__init__.py", line 329, in run
self.run_check(
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/__init__.py", line 203, in run_check
return check(*args)
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/__init__.py", line 89, in wrapper
results = match_function(self, filename, cfn, *args, **kwargs)
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/__init__.py", line 116, in matchall
return self.match(cfn) # pylint: disable=E1102
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/functions/SubNeeded.py", line 116, in match
parameter_string_paths = self.match_values(parameter_search, cfn)
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/functions/SubNeeded.py", line 89, in match_values
results.extend(self._match_values(searchRegex, cfn.template, []))
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/functions/SubNeeded.py", line 68, in _match_values
values.extend(self._match_values(searchRegex, cfnelem[key], pathprop))
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/functions/SubNeeded.py", line 68, in _match_values
values.extend(self._match_values(searchRegex, cfnelem[key], pathprop))
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/functions/SubNeeded.py", line 68, in _match_values
values.extend(self._match_values(searchRegex, cfnelem[key], pathprop))
[Previous line repeated 2 more times]
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/functions/SubNeeded.py", line 73, in _match_values
values.extend(self._match_values(searchRegex, item, pathprop))
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/site-packages/cfnlint/rules/functions/SubNeeded.py", line 76, in _match_values
if isinstance(cfnelem, str) and re.match(searchRegex, cfnelem):
File "/usr/local/Cellar/cfn-lint/0.28.4_1/libexec/lib/python3.8/re.py", line 189, in match
return _compile(pattern, flags).match(string)
KeyboardInterrupt
The text was updated successfully, but these errors were encountered:
cfn-lint version: (
cfn-lint --version
)cfn-lint 0.28.4
Platform$hostname.domain.redacted$ 18.7.0 Darwin Kernel Version 18.7.0: Thu Jan 23 06:52:12 PST 2020; root:xnu-4903.278.25~1/RELEASE_X86_64 x86_64
Darwin
MacOS Mojave 10.14.6
Also verified behavior in:$hostname.domain.redacted$ 4.9.184-0.1.ac.235.83.329.metal1.x86_64 #1 SMP Tue Jul 30 17:17:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Linux
Description of issue.
cfn-lint template.yml hangs indefinitely.
Please provide as much information as possible:
The text was updated successfully, but these errors were encountered: