Skip to content

Commit

Permalink
Adding role path
Browse files Browse the repository at this point in the history
  • Loading branch information
sekka1 committed Sep 21, 2021
1 parent ab25393 commit 3d329ef
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module "iam_assumable_role_admin" {
version = "3.6.0"
create_role = true
role_name = "${local.base_name}-${var.environment_name}"
role_path = "token-file-web-identity"
provider_url = replace(var.eks_cluster_oidc_issuer_url, "https://", "")
role_policy_arns = [aws_iam_policy.cluster_autoscaler.arn]
oidc_fully_qualified_subjects = ["system:serviceaccount:${var.namespace}:${local.k8s_service_account_name}"]
Expand Down

0 comments on commit 3d329ef

Please sign in to comment.