Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
updated ASG name
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelmarques7 committed Feb 4, 2019
1 parent 6c3166c commit 073a649
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _asg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ resource "aws_launch_configuration" "launch_config" {
# Scale (up/down) the number of machines, based on some criteria
#
resource "aws_autoscaling_group" "asg" {
name = "${var.asg-name}"
# name = "${var.asg-name}"
name = "${aws_launch_configuration.launch_config.name}"
min_size = "${var.asg-min-size}"
desired_capacity = "${var.asg-def-size}"
max_size = "${var.asg-max-size}"
Expand Down
1 change: 1 addition & 0 deletions _route53.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ resource "aws_route53_record" "sub" {
evaluate_target_health = true
}
}

0 comments on commit 073a649

Please sign in to comment.