mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-25 19:01:04 +01:00
fix: Ensure the correct service CIDR and IP family is used in the rendered user data (#2963)
* fix: Ensuring the correct service CIDR and IP family is used in the rendered user data * chore: Updates from testing and validating * chore: Fix example destroy instructions * fix: Only require `cluster_service_cidr` when `create = true` * chore: Clean up commented out code and add note on check length
This commit is contained in:
@@ -25,6 +25,11 @@ resource "local_file" "eks_mng_al2_custom_ami" {
|
||||
filename = "${path.module}/rendered/al2/eks-mng-custom-ami.sh"
|
||||
}
|
||||
|
||||
resource "local_file" "eks_mng_al2_custom_ami_ipv6" {
|
||||
content = base64decode(module.eks_mng_al2_custom_ami_ipv6.user_data)
|
||||
filename = "${path.module}/rendered/al2/eks-mng-custom-ami-ipv6.sh"
|
||||
}
|
||||
|
||||
resource "local_file" "eks_mng_al2_custom_template" {
|
||||
content = base64decode(module.eks_mng_al2_custom_template.user_data)
|
||||
filename = "${path.module}/rendered/al2/eks-mng-custom-template.sh"
|
||||
@@ -116,6 +121,11 @@ resource "local_file" "self_mng_al2_bootstrap" {
|
||||
filename = "${path.module}/rendered/al2/self-mng-bootstrap.sh"
|
||||
}
|
||||
|
||||
resource "local_file" "self_mng_al2_bootstrap_ipv6" {
|
||||
content = base64decode(module.self_mng_al2_bootstrap_ipv6.user_data)
|
||||
filename = "${path.module}/rendered/al2/self-mng-bootstrap-ipv6.sh"
|
||||
}
|
||||
|
||||
resource "local_file" "self_mng_al2_custom_template" {
|
||||
content = base64decode(module.self_mng_al2_custom_template.user_data)
|
||||
filename = "${path.module}/rendered/al2/self-mng-custom-template.sh"
|
||||
|
||||
Reference in New Issue
Block a user