mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-25 10:51:06 +01:00
Enable create_before_destroy for ASG and enable force_delete to be configured (#250)
* Allow force_delete to be passed to the ASG, and set ASG so that it will create before deletion. * Set default * Adding CHANGELOG
This commit is contained in:
committed by
Max Williams
parent
89461903b4
commit
8473c69f25
2
local.tf
2
local.tf
@@ -15,6 +15,7 @@ locals {
|
||||
asg_desired_capacity = "1" # Desired worker capacity in the autoscaling group.
|
||||
asg_max_size = "3" # Maximum worker capacity in the autoscaling group.
|
||||
asg_min_size = "1" # Minimum worker capacity in the autoscaling group.
|
||||
asg_force_delete = false # Enable forced deletion for the autoscaling group.
|
||||
instance_type = "m4.large" # Size of the workers instances.
|
||||
spot_price = "" # Cost of spot instance.
|
||||
placement_tenancy = "" # The tenancy of the instance. Valid values are "default" or "dedicated".
|
||||
@@ -46,6 +47,7 @@ locals {
|
||||
asg_desired_capacity = "1" # Desired worker capacity in the autoscaling group.
|
||||
asg_max_size = "3" # Maximum worker capacity in the autoscaling group.
|
||||
asg_min_size = "1" # Minimum worker capacity in the autoscaling group.
|
||||
asg_force_delete = false # Enable forced deletion for the autoscaling group.
|
||||
instance_type = "m4.large" # Size of the workers instances.
|
||||
override_instance_type = "t3.large" # Need to specify at least one additional instance type for mixed instances policy. The instance_type holds higher priority for on demand instances.
|
||||
on_demand_allocation_strategy = "prioritized" # Strategy to use when launching on-demand instances. Valid values: prioritized.
|
||||
|
||||
Reference in New Issue
Block a user