jenkins-x / terraform-aws-eks-jx

A Terraform module for creating Jenkins X infrastructure on AWS
Apache License 2.0
63 stars 41 forks source link

fix: create separate statement block for ListSecrets in Secrets Manager IA… #328

Closed stemurray closed 2 years ago

stemurray commented 2 years ago

…M Policy

Description

Update the "data.aws_iam_policy_document.secrets-manager-policy" block in ./modules/cluster.irsa.tf with an additional statement for "secretsmanager:ListSecrets" using a wildcard Resource as required so it is not included in the provisioned policy.

Special notes for the reviewer(s)

Which issue this PR fixes

fixes #327