Skip to content

Commit

Permalink
Added cluster_oidc_issuer_url from tfmod-eks as input to avoid needin…
Browse files Browse the repository at this point in the history
…g to look up the url from aws_eks_cluster
  • Loading branch information
zawac002 committed Sep 13, 2023
1 parent fd13658 commit 08fc205
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion aws_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data "aws_arn" "current" {
}

data "aws_iam_openid_connect_provider" "openid" {
url = data.aws_eks_cluster.cluster.identity[0].oidc[0].issuer
url = var.cluster_oidc_issuer_url
}


5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ variable "create_namespace" {
default = "true"
}

variable "cluster_oidc_issuer_url" {
description = "The URL in the EKS cluster for the OpenID Connect identity provider. This is the full URL including https://"
type = string
}

variable "rwo_storage_class" {
description = "Specify the storage class for read/write/once persistent volumes."
type = string
Expand Down

0 comments on commit 08fc205

Please sign in to comment.