mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-18 07:23:45 +01:00
feat: Add support for creating efa-only network interfaces (#3196)
This commit is contained in:
@@ -285,6 +285,19 @@ variable "enable_efa_support" {
|
||||
default = false
|
||||
}
|
||||
|
||||
# TODO - make this true by default at next breaking change (remove variable, only pass indices)
|
||||
variable "enable_efa_only" {
|
||||
description = "Determines whether to enable EFA (`false`, default) or EFA and EFA-only (`true`) network interfaces. Note: requires vpc-cni version `v1.18.4` or later"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "efa_indices" {
|
||||
description = "The indices of the network interfaces that should be EFA-enabled. Only valid when `enable_efa_support` = `true`"
|
||||
type = list(number)
|
||||
default = [0]
|
||||
}
|
||||
|
||||
variable "network_interfaces" {
|
||||
description = "Customize network interfaces to be attached at instance boot time"
|
||||
type = list(any)
|
||||
|
||||
Reference in New Issue
Block a user