fix: Ensure a default ip_family value is provided to guarantee a CNI policy is attached to nodes (#2967)

This commit is contained in:
Bryant Biggs
2024-03-11 11:02:59 -04:00
committed by GitHub
parent a95487e5f2
commit 29dcca335d
13 changed files with 17 additions and 12 deletions

View File

@@ -41,7 +41,7 @@ module "user_data" {
################################################################################
data "aws_ec2_instance_type" "this" {
count = var.enable_efa_support && local.instance_type_provided ? 1 : 0
count = var.create && var.enable_efa_support && local.instance_type_provided ? 1 : 0
instance_type = var.instance_type
}