Skip to content

Commit 08553b9

Browse files
committed
Clean up source URLs and comments
1 parent eb9c6fb commit 08553b9

File tree

3 files changed

+4
-4
lines changed
  • code/terraform
    • 04-terraform-module/multi-repo-example/live
      • prod/services/webserver-cluster
      • stage/services/webserver-cluster
    • 06-production-grade-infrastructure/small-modules/modules/cluster/asg-rolling-deploy

3 files changed

+4
-4
lines changed

code/terraform/04-terraform-module/multi-repo-example/live/prod/services/webserver-cluster/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "webserver_cluster" {
1313

1414
# Since the terraform-up-and-running-code repo is open source, we're using an HTTPS URL here. If it was a private
1515
# repo, we'd instead use an SSH URL (git@github.com:brikis98/terraform-up-and-running-code.git) to leverage SSH auth
16-
source = "git::https://github.com/brikis98/terraform-up-and-running-code.git//code/terraform/04-terraform-module/module-example/modules/services/webserver-cluster?ref=v0.1.0"
16+
source = "github.com/brikis98/terraform-up-and-running-code//code/terraform/04-terraform-module/module-example/modules/services/webserver-cluster?ref=v0.1.0"
1717

1818
cluster_name = var.cluster_name
1919
db_remote_state_bucket = var.db_remote_state_bucket

code/terraform/04-terraform-module/multi-repo-example/live/stage/services/webserver-cluster/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "webserver_cluster" {
1313

1414
# Since the terraform-up-and-running-code repo is open source, we're using an HTTPS URL here. If it was a private
1515
# repo, we'd instead use an SSH URL (git@github.com:brikis98/terraform-up-and-running-code.git) to leverage SSH auth
16-
source = "git::https://github.com/brikis98/terraform-up-and-running-code.git//code/terraform/04-terraform-module/module-example/modules/services/webserver-cluster?ref=v0.1.0"
16+
source = "github.com/brikis98/terraform-up-and-running-code//code/terraform/04-terraform-module/module-example/modules/services/webserver-cluster?ref=v0.1.0"
1717

1818
cluster_name = var.cluster_name
1919
db_remote_state_bucket = var.db_remote_state_bucket

code/terraform/06-production-grade-infrastructure/small-modules/modules/cluster/asg-rolling-deploy/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ resource "aws_launch_configuration" "example" {
1616
}
1717

1818
resource "aws_autoscaling_group" "example" {
19-
# Explicitly depend on the launch configuration's name so each time it's replaced,
20-
# this ASG is also replaced
19+
# Explicitly depend on the launch configuration's name so each time
20+
# it's replaced, this ASG is also replaced
2121
name = "${var.cluster_name}-${aws_launch_configuration.example.name}"
2222

2323
launch_configuration = aws_launch_configuration.example.name

0 commit comments

Comments
 (0)