Skip to content

Commit 0e8743d

Browse files
authored
Revert "Add a ReadOnlyExtraAccess policy (#415)" (#424)
This reverts commit 12b4eba.
1 parent 12b4eba commit 0e8743d

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

infrastructure/policies.tf

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,3 @@ resource "aws_iam_policy" "ssm_access_policy" {
1717
]
1818
})
1919
}
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

Comments
 (0)