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 fbddaa8 commit 12b4ebaCopy full SHA for 12b4eba
infrastructure/policies.tf
@@ -17,3 +17,26 @@ resource "aws_iam_policy" "ssm_access_policy" {
17
]
18
})
19
}
20
+
21
+resource "aws_iam_policy" "read_only_role_extra_permissions" {
22
+ name = "ReadOnlyExtraAccess"
23
+ policy = jsonencode({
24
+ Version = "2012-10-17",
25
+ Statement = [
26
+ {
27
+ Effect = "Allow",
28
+ Action = [
29
+ "kms:Decrypt",
30
+ ],
31
+ Resource = [
32
+ "arn:aws:lambda:eu-west-2:${data.aws_caller_identity.current.account_id}:function:*",
33
+ ]
34
+ }
35
36
+ })
37
+ tags = {
38
+ Name = "ReadOnlyExtraAccess"
39
+ Workspace = "core"
40
41
+}
42
0 commit comments