mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-31 06:23:04 +02:00
feat: Propagate ami_type to self-managed node group; allow using ami_type only (#3030)
This commit is contained in:
@@ -74,7 +74,7 @@ output "cluster_primary_security_group_id" {
|
||||
|
||||
output "cluster_service_cidr" {
|
||||
description = "The CIDR block where Kubernetes pod and service IP addresses are assigned from"
|
||||
value = try(aws_eks_cluster.this[0].kubernetes_network_config[0].service_ipv4_cidr, aws_eks_cluster.this[0].kubernetes_network_config[0].service_ipv6_cidr, null)
|
||||
value = var.cluster_ip_family == "ipv6" ? try(aws_eks_cluster.this[0].kubernetes_network_config[0].service_ipv6_cidr, null) : try(aws_eks_cluster.this[0].kubernetes_network_config[0].service_ipv4_cidr, null)
|
||||
}
|
||||
|
||||
output "cluster_ip_family" {
|
||||
|
||||
Reference in New Issue
Block a user