Skip to content

Commit

Permalink
fix: Allow cert-manager IAM role to assume itself (#269)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
  • Loading branch information
joaocc and bryantbiggs committed Oct 4, 2023
1 parent 9bca858 commit d45aada
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1927,6 +1927,7 @@ module "cert_manager" {
role_description = try(var.cert_manager.role_description, "IRSA for cert-manger project")
role_policies = lookup(var.cert_manager, "role_policies", {})

allow_self_assume_role = try(var.cert_manager.allow_self_assume_role, true)
source_policy_documents = data.aws_iam_policy_document.cert_manager[*].json
policy_statements = lookup(var.cert_manager, "policy_statements", [])
policy_name = try(var.cert_manager.policy_name, null)
Expand Down

0 comments on commit d45aada

Please sign in to comment.