add spot_price option to aws_launch_configuration

This commit is contained in:
Dongseob Park
2018-08-07 01:26:52 +00:00
parent 6fbb6a8204
commit c3b1822dfb
3 changed files with 3 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ variable "workers_group_defaults" {
asg_max_size = "3" # Maximum worker capacity in the autoscaling group.
asg_min_size = "1" # Minimum worker capacity in the autoscaling group.
instance_type = "m4.large" # Size of the workers instances.
spot_price = "" # Cost of spot instance.
root_volume_size = "20" # root volume size of workers instances.
root_volume_type = "gp2" # root volume type of workers instances, can be 'standard', 'gp2', or 'io1'
root_iops = "0" # The amount of provisioned IOPS. This must be set with a volume_type of "io1".