Skip to content

Commit aa6e9c4

Browse files
committed
Fixed all the changes back to demo state
1 parent 8a0049f commit aa6e9c4

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

buildspec-dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ version: 0.2
33
env:
44
variables:
55
TERRAFORM_VERSION: "0.15.3"
6-
#TF_COMMAND: "apply"
7-
TF_COMMAND: "destroy"
6+
TF_COMMAND: "apply"
7+
#TF_COMMAND: "destroy"
88
parameter-store:
99
AWS_ACCESS_KEY_ID: "/CodeBuild/MY_AWS_ACCESS_KEY_ID"
1010
AWS_SECRET_ACCESS_KEY: "/CodeBuild/MY_AWS_SECRET_ACCESS_KEY"

buildspec-stag.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ version: 0.2
33
env:
44
variables:
55
TERRAFORM_VERSION: "0.15.3"
6-
#TF_COMMAND: "apply"
7-
TF_COMMAND: "destroy"
6+
TF_COMMAND: "apply"
7+
#TF_COMMAND: "destroy"
88
parameter-store:
99
AWS_ACCESS_KEY_ID: "/CodeBuild/MY_AWS_ACCESS_KEY_ID"
1010
AWS_SECRET_ACCESS_KEY: "/CodeBuild/MY_AWS_SECRET_ACCESS_KEY"

terraform-manifests/c13-03-autoscaling-resource.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ resource "aws_autoscaling_group" "my_asg" {
33
#name_prefix = "myasg-"
44
name_prefix = "${local.name}-"
55
max_size = 10
6-
#min_size = 2
7-
min_size = 4
8-
#desired_capacity = 2
9-
desired_capacity = 4
6+
min_size = 2
7+
#min_size = 4
8+
desired_capacity = 2
9+
#desired_capacity = 4
1010
vpc_zone_identifier = module.vpc.private_subnets
1111
target_group_arns = module.alb.target_group_arns
1212
health_check_type = "EC2"

0 commit comments

Comments
 (0)