Skip to content

terraform-navercloudplatform-modules/terraform-ncloud-auto-scaling-group-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

No requirements.

Providers

Name Version
ncloud n/a

Modules

No modules.

Resources

Name Type
ncloud_auto_scaling_group.auto_scaling_group resource

Inputs

Name Description Type Default Required
access_control_group_no_list (Required) The ID of the ACG. list(number) n/a yes
default_cooldown (Optional) The cooldown time is the period set to ignore even if the monitoring event alarm occurs after the actual scaling is being performed or is completed. number null no
desired_capacity (Optional) The number of servers is adjusted according to the desired capacity value. This value must be more than the minimum capacity and less than the maximum capacity. If this value is not specified, initially create a server with a minimum capacity. valid from 0 to 30. number 0 no
health_check_grace_period (Optional) Set the time to hold health check after the server instance is put into the service with the health check hold period. If the health_check_type_code is LOADB, health_check_grace_period is required. number null no
health_check_type_code (Optional) SVR or LOADB. Controls how health checking is done. string null no
ignore_capacity_changes (Optional) If set this true, any changes of desired_capacity, min_size and max_size will be ignored and not rolled back. bool false no
launch_configuration_no (Required) Launch Configuration Number for creating Auto Scaling Group. number n/a yes
max_size (Required) The maximum size of the Auto Scaling Group. valid from 0 to 30. number n/a yes
min_size (Required) The minimum size of the Auto Scaling Group. valid from 0 to 30. number n/a yes
name (Optional) Auto Scaling Group name to create. default : Ncloud assigns default values. string "" no
server_name_prefix (Optional) Create name beginning with the specified prefix. string n/a yes
subnet_no (Required) The ID of the associated Subnet. number n/a yes
wait_for_capacity_timeout (Optional) The maximum amount of time Terraform should wait for an ASG instance to become healthy. Setting this to '0' causes Terraform to skip all Capacity Waiting behavior. number null no
zone_no_list (Optional) The list of zone numbers where server instances belonging to this group will exist. Valid only if the health_check_type_code is LOADB. list(number) [] no

Outputs

Name Description
auto_scaling_group_no The ID of Auto Scaling Group (It is the same result as id)
id The ID of Auto Scaling Group.
server_instance_no_list List of server instances belonging to Auto Scaling Group.
vpc_no The ID of the associated VPC.