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 3d329ef commit 21fce9b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +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"
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 21fce9b

Please sign in to comment.