Skip to content

Commit

Permalink
Fixed eks_oidc_provider_url for github actions runner set
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Khramtsov committed Aug 22, 2024
1 parent 89098e0 commit d4e28a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ locals {
}
kube_github_runner_github_token = lookup(jsondecode(data.aws_secretsmanager_secret_version.infra.secret_string), "github_pat_token", "")
service_account_name = "gha-runner-scale-set-gha-rs-no-permission"
eks_oidc_provider_url = replace(local.eks_oidc_provider_arn, "arn:aws:iam::${data.aws_caller_identity.current.account_id}:oidc-provider/", "")
eks_oidc_provider_url = replace("${data.aws_eks_cluster.main.identity[0].oidc[0].issuer}" , "https://", "")

gha_runner_scale_set_values = <<VALUES
githubConfigUrl: "https://github.com/madopsio/madactions"
Expand Down

0 comments on commit d4e28a8

Please sign in to comment.