Skip to content

Commit

Permalink
FEAT: Enable spot-enabled tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumit Sarkar committed Jul 11, 2018
1 parent 9a0c73d commit c01daaa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ module "container_service_cluster" {

project = "Backbone"
environment = "${var.stack_name}"

spot_enabled = "${var.spot_enabled}"
}

## AWS cloud watch log group
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ variable "max_size" {
description = "Maximum size of the cluster."
}

variable "spot_enabled" {
default = "false"
type = "string"
description = "Adds the spot-enabled tag to the ASG of the instances."
}

variable "scale_up_cooldown_seconds" {
type = "list"
description = "List for Number of seconds before allowing another scale up activity"
Expand Down

0 comments on commit c01daaa

Please sign in to comment.