Allow policy bootstrapping with nil "Resource" (#14359)

This commit is contained in:
Eric authored and GitHub committed 2022-02-20 15:56:41 -08:00
1 parent ef8e952fc4
commit f357f65d04
1 file changed
+2 -2
+2 -2
View File
@@ -8,10 +8,10 @@
"Effect": "Allow",
"Action": [
"{{ $statement.actions | join "\",\n\"" }}"
],
]{{ if $statement.resources }},
"Resource": [
"{{ $statement.resources | join "\",\n\"" }}"
]
]{{ end }}
}{{ if lt $i $statements_length }},{{end }}
{{- end }}
]