Skip to content

Commit d45aada

Browse files
joaoccbryantbiggs
andauthored
fix: Allow cert-manager IAM role to assume itself (#269)
Co-authored-by: Bryant Biggs <[email protected]>
1 parent 9bca858 commit d45aada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,6 +1927,7 @@ module "cert_manager" {
19271927
role_description = try(var.cert_manager.role_description, "IRSA for cert-manger project")
19281928
role_policies = lookup(var.cert_manager, "role_policies", {})
19291929

1930+
allow_self_assume_role = try(var.cert_manager.allow_self_assume_role, true)
19301931
source_policy_documents = data.aws_iam_policy_document.cert_manager[*].json
19311932
policy_statements = lookup(var.cert_manager, "policy_statements", [])
19321933
policy_name = try(var.cert_manager.policy_name, null)

0 commit comments

Comments
 (0)