mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-05-01 12:54:29 +02:00
change conditional for irsa.tf (#783)
This commit is contained in:
committed by
GitHub
parent
2a78825ef7
commit
4c0c4c49a6
@@ -18,6 +18,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Add `default_cooldown` and `health_check_grace_period` options to workers ASG (by @ArieLevs)
|
||||
- Fix support for ASG max instance lifetime for workers (by @barryib)
|
||||
- Add support for envelope encryption of Secrets (by @babilen5)
|
||||
- Fix issue with terraform plan phase when IRSA was enabled and create_eks switches to false (by @daroga0002)
|
||||
- **Breaking:** Added support for EKS 1.15 (by @sc250024)
|
||||
|
||||
# History
|
||||
|
||||
2
irsa.tf
2
irsa.tf
@@ -8,7 +8,7 @@
|
||||
# https://github.com/terraform-providers/terraform-provider-aws/issues/10104
|
||||
|
||||
resource "aws_iam_openid_connect_provider" "oidc_provider" {
|
||||
count = var.enable_irsa ? 1 : 0
|
||||
count = var.enable_irsa && var.create_eks ? 1 : 0
|
||||
client_id_list = ["sts.amazonaws.com"]
|
||||
thumbprint_list = [var.eks_oidc_root_ca_thumbprint]
|
||||
url = flatten(concat(aws_eks_cluster.this[*].identity[*].oidc.0.issuer, [""]))[0]
|
||||
|
||||
Reference in New Issue
Block a user