You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aname="input_create_placement_group"></a> [create\_placement\_group](#input\_create\_placement\_group)| Determines whether a placement group is created & used by the node group |`bool`|`false`| no |
115
115
| <aname="input_create_security_group"></a> [create\_security\_group](#input\_create\_security\_group)| Determines if a security group is created |`bool`|`true`| no |
116
116
| <aname="input_credit_specification"></a> [credit\_specification](#input\_credit\_specification)| Customize the credit specification of the instance | <pre>object({<br/> cpu_credits = optional(string)<br/> })</pre> |`null`| no |
117
-
| <aname="input_default_cooldown"></a> [default\_cooldown](#input\_default\_cooldown)| The amount of time, in seconds, after a scaling activity completes before another scaling activity can start |`number`|`null`| no |
118
117
| <aname="input_default_instance_warmup"></a> [default\_instance\_warmup](#input\_default\_instance\_warmup)| Amount of time, in seconds, until a newly launched instance can contribute to the Amazon CloudWatch metrics. This delay lets an instance finish initializing before Amazon EC2 Auto Scaling aggregates instance metrics, resulting in more reliable usage data |`number`|`null`| no |
119
118
| <aname="input_desired_size"></a> [desired\_size](#input\_desired\_size)| The number of Amazon EC2 instances that should be running in the autoscaling group |`number`|`1`| no |
120
119
| <aname="input_desired_size_type"></a> [desired\_size\_type](#input\_desired\_size\_type)| The unit of measurement for the value specified for `desired_size`. Supported for attribute-based instance type selection only. Valid values: `units`, `vcpu`, `memory-mib`|`string`|`null`| no |
| <aname="input_metrics_granularity"></a> [metrics\_granularity](#input\_metrics\_granularity)| The granularity to associate with the metrics to collect. The only valid value is `1Minute`|`string`|`null`| no |
167
-
| <aname="input_min_elb_capacity"></a> [min\_elb\_capacity](#input\_min\_elb\_capacity)| Setting this causes Terraform to wait for this number of instances to show up healthy in the ELB only on creation. Updates will not wait on ELB instance number changes |`number`|`null`| no |
168
166
| <aname="input_min_size"></a> [min\_size](#input\_min\_size)| The minimum size of the autoscaling group |`number`|`0`| no |
169
167
| <a name="input_mixed_instances_policy"></a> [mixed\_instances\_policy](#input\_mixed\_instances\_policy) | Configuration block containing settings to define launch targets for Auto Scaling groups | <pre>object({<br/> instances_distribution = optional(object({<br/> on_demand_allocation_strategy = optional(string)<br/> on_demand_base_capacity = optional(number)<br/> on_demand_percentage_above_base_capacity = optional(number)<br/> spot_allocation_strategy = optional(string)<br/> spot_instance_pools = optional(number)<br/> spot_max_price = optional(string)<br/> }))<br/> launch_template = object({<br/> override = optional(list(object({<br/> instance_requirements = optional(object({<br/> accelerator_count = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> accelerator_manufacturers = optional(list(string))<br/> accelerator_names = optional(list(string))<br/> accelerator_total_memory_mib = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> accelerator_types = optional(list(string))<br/> allowed_instance_types = optional(list(string))<br/> bare_metal = optional(string)<br/> baseline_ebs_bandwidth_mbps = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> burstable_performance = optional(string)<br/> cpu_manufacturers = optional(list(string))<br/> excluded_instance_types = optional(list(string))<br/> instance_generations = optional(list(string))<br/> local_storage = optional(string)<br/> local_storage_types = optional(list(string))<br/> max_spot_price_as_percentage_of_optimal_on_demand_price = optional(number)<br/> memory_gib_per_vcpu = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> memory_mib = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> network_bandwidth_gbps = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> network_interface_count = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> on_demand_max_price_percentage_over_lowest_price = optional(number)<br/> require_hibernate_support = optional(bool)<br/> spot_max_price_percentage_over_lowest_price = optional(number)<br/> total_local_storage_gb = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> vcpu_count = optional(object({<br/> max = optional(number)<br/> min = optional(number)<br/> }))<br/> }))<br/> instance_type = optional(string)<br/> launch_template_specification = optional(object({<br/> launch_template_id = optional(string)<br/> launch_template_name = optional(string)<br/> version = optional(string)<br/> }))<br/> weighted_capacity = optional(string)<br/> })))<br/> })<br/> })</pre> | `null` | no |
170
168
| <aname="input_name"></a> [name](#input\_name)| Name of the Self managed Node Group |`string`|`""`| no |
| <aname="input_security_group_name"></a> [security\_group\_name](#input\_security\_group\_name)| Name to use on security group created |`string`|`null`| no |
184
182
| <aname="input_security_group_tags"></a> [security\_group\_tags](#input\_security\_group\_tags)| A map of additional tags to add to the security group created |`map(string)`|`{}`| no |
185
183
| <aname="input_security_group_use_name_prefix"></a> [security\_group\_use\_name\_prefix](#input\_security\_group\_use\_name\_prefix)| Determines whether the security group name (`security_group_name`) is used as a prefix |`bool`|`true`| no |
186
-
| <aname="input_service_linked_role_arn"></a> [service\_linked\_role\_arn](#input\_service\_linked\_role\_arn)| The ARN of the service-linked role that the ASG will use to call other AWS services |`string`|`null`| no |
187
184
| <aname="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids)| A list of subnet IDs to launch resources in. Subnets automatically determine which availability zones the group will reside. Conflicts with `availability_zones`|`list(string)`|`null`| no |
188
185
| <aname="input_suspended_processes"></a> [suspended\_processes](#input\_suspended\_processes)| A list of processes to suspend for the Auto Scaling Group. The allowed values are `Launch`, `Terminate`, `HealthCheck`, `ReplaceUnhealthy`, `AZRebalance`, `AlarmNotification`, `ScheduledActions`, `AddToLoadBalancer`. Note that if you suspend either the `Launch` or `Terminate` process types, it can prevent your Auto Scaling Group from functioning properly |`list(string)`|`[]`| no |
189
186
| <aname="input_tag_specifications"></a> [tag\_specifications](#input\_tag\_specifications)| The tags to apply to the resources during launch |`list(string)`| <pre>[<br/> "instance",<br/> "volume",<br/> "network-interface"<br/>]</pre> | no |
190
187
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
191
-
| <aname="input_target_group_arns"></a> [target\_group\_arns](#input\_target\_group\_arns)| A set of `aws_alb_target_group` ARNs, for use with Application or Network Load Balancing |`list(string)`|`[]`| no |
192
188
| <aname="input_termination_policies"></a> [termination\_policies](#input\_termination\_policies)| A list of policies to decide how the instances in the Auto Scaling Group should be terminated. The allowed values are `OldestInstance`, `NewestInstance`, `OldestLaunchConfiguration`, `ClosestToNextInstanceHour`, `OldestLaunchTemplate`, `AllocationStrategy`, `Default`|`list(string)`|`[]`| no |
193
189
| <aname="input_timeouts"></a> [timeouts](#input\_timeouts)| Timeout configurations for the autoscaling group | <pre>object({<br/> delete = optional(string)<br/> })</pre> |`null`| no |
194
190
| <aname="input_update_launch_template_default_version"></a> [update\_launch\_template\_default\_version](#input\_update\_launch\_template\_default\_version)| Whether to update Default Version each update. Conflicts with `launch_template_default_version`|`bool`|`true`| no |
195
191
| <aname="input_use_mixed_instances_policy"></a> [use\_mixed\_instances\_policy](#input\_use\_mixed\_instances\_policy)| Determines whether to use a mixed instances policy in the autoscaling group or not |`bool`|`false`| no |
196
192
| <aname="input_use_name_prefix"></a> [use\_name\_prefix](#input\_use\_name\_prefix)| Determines whether to use `name` as is or create a unique name beginning with the `name` as the prefix |`bool`|`true`| no |
197
193
| <aname="input_user_data_template_path"></a> [user\_data\_template\_path](#input\_user\_data\_template\_path)| Path to a local, custom user data template file to use when rendering user data |`string`|`""`| no |
198
194
| <aname="input_vpc_security_group_ids"></a> [vpc\_security\_group\_ids](#input\_vpc\_security\_group\_ids)| A list of security group IDs to associate |`list(string)`|`[]`| no |
199
-
| <aname="input_wait_for_capacity_timeout"></a> [wait\_for\_capacity\_timeout](#input\_wait\_for\_capacity\_timeout)| A maximum duration that Terraform should wait for ASG instances to be healthy before timing out. (See also Waiting for Capacity below.) Setting this to '0' causes Terraform to skip all Capacity Waiting behavior |`string`|`null`| no |
200
-
| <aname="input_wait_for_elb_capacity"></a> [wait\_for\_elb\_capacity](#input\_wait\_for\_elb\_capacity)| Setting this will cause Terraform to wait for exactly this number of healthy instances in all attached load balancers on both create and update operations. Takes precedence over `min_elb_capacity` behavior |`number`|`null`| no |
description="Setting this causes Terraform to wait for this number of instances to show up healthy in the ELB only on creation. Updates will not wait on ELB instance number changes"
586
-
type=number
587
-
default=null
588
-
}
589
-
590
-
variable"wait_for_elb_capacity" {
591
-
description="Setting this will cause Terraform to wait for exactly this number of healthy instances in all attached load balancers on both create and update operations. Takes precedence over `min_elb_capacity` behavior"
592
-
type=number
593
-
default=null
594
-
}
595
-
596
-
variable"wait_for_capacity_timeout" {
597
-
description="A maximum duration that Terraform should wait for ASG instances to be healthy before timing out. (See also Waiting for Capacity below.) Setting this to '0' causes Terraform to skip all Capacity Waiting behavior"
598
-
type=string
599
-
default=null
600
-
}
601
-
602
-
variable"default_cooldown" {
603
-
description="The amount of time, in seconds, after a scaling activity completes before another scaling activity can start"
604
-
type=number
605
-
default=null
606
-
}
607
-
608
584
variable"default_instance_warmup" {
609
585
description="Amount of time, in seconds, until a newly launched instance can contribute to the Amazon CloudWatch metrics. This delay lets an instance finish initializing before Amazon EC2 Auto Scaling aggregates instance metrics, resulting in more reliable usage data"
description="The ARN of the service-linked role that the ASG will use to call other AWS services"
682
-
type=string
683
-
default=null
684
-
}
685
-
686
650
variable"initial_lifecycle_hooks" {
687
651
description="One or more Lifecycle Hooks to attach to the Auto Scaling Group before instances are launched. The syntax is exactly the same as the separate `aws_autoscaling_lifecycle_hook` resource, without the `autoscaling_group_name` attribute. Please note that this will only work when creating a new Auto Scaling Group. For all other use-cases, please use `aws_autoscaling_lifecycle_hook` resource"
0 commit comments