mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-27 03:41:05 +01:00
feat: Add support for zonal shift (#3195)
This commit is contained in:
8
main.tf
8
main.tf
@@ -92,6 +92,14 @@ resource "aws_eks_cluster" "this" {
|
||||
}
|
||||
}
|
||||
|
||||
dynamic "zonal_shift_config" {
|
||||
for_each = length(var.cluster_zonal_shift_config) > 0 ? [var.cluster_zonal_shift_config] : []
|
||||
|
||||
content {
|
||||
enabled = try(zonal_shift_config.value.enabled, null)
|
||||
}
|
||||
}
|
||||
|
||||
tags = merge(
|
||||
{ terraform-aws-modules = "eks" },
|
||||
var.tags,
|
||||
|
||||
Reference in New Issue
Block a user