Commit 722226fe authored by Cameron McFarland's avatar Cameron McFarland

Adding a desired capacity setting to the autoscaling groups and setting the...

Adding a desired capacity setting to the autoscaling groups and setting the s3loader group to 0 since we shouldn't need it.
parent 0149af95
......@@ -440,6 +440,7 @@ resource "aws_autoscaling_group" "snowplow_collector_autoscaling_group" {
launch_configuration = "${aws_launch_configuration.snowplow_collector_launch_config.id}"
max_size = "9"
min_size = "9"
desired_capacity = "9"
target_group_arns = [
"${aws_lb_target_group.snowplow_collector_lb_target_group.id}",
......@@ -473,6 +474,7 @@ resource "aws_autoscaling_group" "snowplow_enricher_autoscaling_group" {
launch_configuration = "${aws_launch_configuration.snowplow_enricher_launch_config.id}"
max_size = "3"
min_size = "3"
desired_capacity = "3"
tag {
key = "environment"
......@@ -490,7 +492,8 @@ resource "aws_autoscaling_group" "snowplow_enricher_autoscaling_group" {
resource "aws_autoscaling_group" "snowplow_s3loader_autoscaling_group" {
launch_configuration = "${aws_launch_configuration.snowplow_s3loader_launch_config.id}"
max_size = "1"
min_size = "1"
min_size = "0"
desired_capacity = "0"
tag {
key = "environment"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment