feat: Support additional cluster DNS IPs with Bottlerocket based AMIs (#3051)

* Support adding additional cluster dns ranges to bottlerocket template

* Add example for multiple dns ips

* fmt, and tf docs

* fix: Use a list by default for cluster-dns-ip

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
Ramsey McGrath
2024-05-28 14:40:29 -04:00
committed by GitHub
parent f90f15e91e
commit 541dbb29f1
11 changed files with 30 additions and 10 deletions

View File

@@ -244,6 +244,9 @@ module "eks_mng_bottlerocket_custom_ami" {
cluster_endpoint = local.cluster_endpoint
cluster_auth_base64 = local.cluster_auth_base64
cluster_service_cidr = local.cluster_service_cidr
additional_cluster_dns_ips = [
"169.254.20.10"
]
enable_bootstrap_user_data = true