Skip to content

Commit a49f767

Browse files
authored
DescribeParameter always needs full access (#354)
1 parent 201688d commit a49f767

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/iam-role-for-service-accounts-eks/policies.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,15 @@ resource "aws_iam_role_policy_attachment" "external_dns" {
431431
data "aws_iam_policy_document" "external_secrets" {
432432
count = var.create_role && var.attach_external_secrets_policy ? 1 : 0
433433

434+
statement {
435+
actions = ["ssm:DescribeParameters"]
436+
resources = ["*"]
437+
}
438+
434439
statement {
435440
actions = [
436441
"ssm:GetParameter",
437442
"ssm:GetParameters",
438-
"ssm:DescribeParameters",
439443
]
440444
resources = var.external_secrets_ssm_parameter_arns
441445
}

0 commit comments

Comments
 (0)