We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a85243 commit 00a4a1bCopy full SHA for 00a4a1b
1 file changed
templates/key-policy.yaml.tftpl
@@ -22,15 +22,15 @@ Statement:
22
kms:EncryptionContext:aws:s3:arn:
23
- "arn:${partition}:s3:::${bucket}"
24
- "arn:${partition}:s3:::${bucket}/*"
25
-{% if length(principals) > 0 }
+{% if length(principals) > 0 ~}
26
- Sid: Allow other resources to use the key
27
Effect: Allow
28
Principal:
29
AWS:
30
- {% for principal in principals }
+ {% for principal in principals ~}
31
- "${principal}"
32
- %{ endfor }
+ {% endfor ~}
33
Action:
34
- kms:GenerateDataKey
35
- kms:Decrypt
36
-{% endif }
+{% endif ~}
0 commit comments