diff --git a/examples/ha/infra/main.tf b/examples/ha/infra/main.tf index 6057c73..e7dd6cb 100644 --- a/examples/ha/infra/main.tf +++ b/examples/ha/infra/main.tf @@ -84,6 +84,13 @@ module "xrd_ami" { count = var.node_ami == null ? 1 : 0 cluster_version = data.aws_eks_cluster.this.version + + filters = [ + { + name = "tag:Amazon_Linux_Version" + values = ["AL2023"] + } + ] } locals { diff --git a/modules/aws/eks-config/main.tf b/modules/aws/eks-config/main.tf index c5a2b6f..f46ee82 100644 --- a/modules/aws/eks-config/main.tf +++ b/modules/aws/eks-config/main.tf @@ -53,3 +53,9 @@ resource "helm_release" "ebs_csi" { } wait = false } + +resource "kubernetes_manifest" "multus" { + for_each = toset(compact(split("---", data.http.multus_yaml.response_body))) + + manifest = yamldecode(each.key) +}