Skip to content

Commit

Permalink
feat: setting oidc issuer as default option for aws_eks_identity_prov…
Browse files Browse the repository at this point in the history
…ider_config
  • Loading branch information
igorbrites committed Aug 5, 2022
1 parent 58285f3 commit 804f893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ resource "aws_eks_identity_provider_config" "this" {
groups_claim = lookup(each.value, "groups_claim", null)
groups_prefix = lookup(each.value, "groups_prefix", null)
identity_provider_config_name = try(each.value.identity_provider_config_name, each.key)
issuer_url = each.value.issuer_url
issuer_url = try(each.value.issuer_url, aws_eks_cluster.this[0].identity[0].oidc[0].issuer)
required_claims = lookup(each.value, "required_claims", null)
username_claim = lookup(each.value, "username_claim", null)
username_prefix = lookup(each.value, "username_prefix", null)
Expand Down

0 comments on commit 804f893

Please sign in to comment.