We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbc1c73 commit 89227d4Copy full SHA for 89227d4
src/cfnlint/rules/resources/iam/StatementResources.py
@@ -153,8 +153,11 @@ def validate(
153
continue
154
resources = ensure_list(resources)
155
for resource in resources:
156
+ # use lower as certain resources are described in actions
157
+ # with upper case letters and in resources as lower
158
+ # case issue #4036
159
arn_formats = self.service_map[service]["Resources"][
- resource
160
+ resource.lower()
161
].get("ARNFormats")
162
for arn_format in arn_formats:
163
arn = _Arn(arn_format)
0 commit comments