Skip to content

Commit

Permalink
fix sercrets
Browse files Browse the repository at this point in the history
  • Loading branch information
sohanyadav committed Nov 7, 2024
1 parent 8364a8f commit a49e47c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws_csi_secrets_store.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ resource "aws_iam_role" "secrets_manager_role" {
}

resource "aws_iam_role_policy_attachment" "secrets_manager_attachment" {
count = var.csi_secrets_store_enabled ? 1 : 0
role = join("",aws_iam_role.secrets_manager_role.*.name)
policy_arn = join ("", aws_iam_policy.secrets_policy.*.arn)
}
Expand Down

0 comments on commit a49e47c

Please sign in to comment.