Skip to content

Commit

Permalink
also comment out asg
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewsearle01 committed Mar 19, 2024
1 parent d176e8f commit c8e40d8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions terraform/environments/tribunals/asg-shared.tf
Original file line number Diff line number Diff line change
Expand Up @@ -158,19 +158,19 @@ resource "aws_iam_instance_profile" "ec2_instance_profile" {
# }

# Finally, create the Auto scaling group for the launch template
resource "aws_autoscaling_group" "tribunals-all-asg" {
#vpc_zone_identifier = sort(data.aws_subnets.shared-private.ids)
vpc_zone_identifier = [data.aws_subnet.private_subnets_a.id]
desired_capacity = 1
max_size = 1
min_size = 1
name = local.app_name

launch_template {
id = "${aws_launch_template.tribunals-all-lt.id}"
version = "$Latest"
}
}
# resource "aws_autoscaling_group" "tribunals-all-asg" {
# #vpc_zone_identifier = sort(data.aws_subnets.shared-private.ids)
# vpc_zone_identifier = [data.aws_subnet.private_subnets_a.id]
# desired_capacity = 1
# max_size = 1
# min_size = 1
# name = local.app_name

# launch_template {
# id = "${aws_launch_template.tribunals-all-lt.id}"
# version = "$Latest"
# }
# }

###########################################################################

Expand Down

0 comments on commit c8e40d8

Please sign in to comment.