mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-20 00:23:46 +01:00
fix: Add conditional variable to allow users to opt out of tagging cluster primary security group (#2034)
This commit is contained in:
@@ -125,7 +125,6 @@ module "eks" {
|
||||
# EKS Managed Node Group(s)
|
||||
eks_managed_node_group_defaults = {
|
||||
ami_type = "AL2_x86_64"
|
||||
disk_size = 50
|
||||
instance_types = ["m6i.large", "m5.large", "m5n.large", "m5zn.large"]
|
||||
|
||||
attach_cluster_primary_security_group = true
|
||||
|
||||
@@ -114,7 +114,6 @@ module "eks" {
|
||||
|
||||
eks_managed_node_group_defaults = {
|
||||
ami_type = "AL2_x86_64"
|
||||
disk_size = 50
|
||||
instance_types = ["m6i.large", "m5.large", "m5n.large", "m5zn.large"]
|
||||
|
||||
# We are using the IRSA created below for permissions
|
||||
@@ -133,6 +132,8 @@ module "eks" {
|
||||
create_launch_template = false
|
||||
launch_template_name = ""
|
||||
|
||||
disk_size = 50
|
||||
|
||||
# Remote access cannot be specified with a launch template
|
||||
remote_access = {
|
||||
ec2_ssh_key = aws_key_pair.this.key_name
|
||||
@@ -254,7 +255,6 @@ module "eks" {
|
||||
EOT
|
||||
|
||||
capacity_type = "SPOT"
|
||||
disk_size = 256
|
||||
force_update_version = true
|
||||
instance_types = ["m6i.large", "m5.large", "m5n.large", "m5zn.large"]
|
||||
labels = {
|
||||
|
||||
@@ -96,7 +96,7 @@ module "eks" {
|
||||
}
|
||||
|
||||
self_managed_node_group_defaults = {
|
||||
disk_size = 50
|
||||
create_security_group = false
|
||||
}
|
||||
|
||||
self_managed_node_groups = {
|
||||
@@ -216,7 +216,6 @@ module "eks" {
|
||||
echo "you are free little kubelet!"
|
||||
EOT
|
||||
|
||||
disk_size = 256
|
||||
instance_type = "m6i.large"
|
||||
|
||||
launch_template_name = "self-managed-ex"
|
||||
|
||||
Reference in New Issue
Block a user