From ae38375a2f42532d37aa9469e0594aede32c3254 Mon Sep 17 00:00:00 2001 From: Magicloud <1886157+Magicloud@users.noreply.github.com> Date: Sat, 7 Mar 2020 03:08:28 +0800 Subject: [PATCH] module ref update --- examples/confluence/main.tf | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/confluence/main.tf b/examples/confluence/main.tf index 97f329ee..daf4842e 100644 --- a/examples/confluence/main.tf +++ b/examples/confluence/main.tf @@ -78,7 +78,7 @@ resource "aws_security_group_rule" "asg_ext_alb_http_port_sg_rule" { } module "asg" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/single-node-asg?ref=lb-asg" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/single-node-asg" ami = module.centos.id instance_type = "m5.xlarge" key_name = var.ssh_key @@ -120,13 +120,13 @@ data "template_file" "docker_compose" { } module "data-backup" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/dlm-lifecycle-policy?ref=dlm" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/dlm-lifecycle-policy" name_prefix = "confluence" ebs_target_tags = { Name = module.asg.data_volume_name_tag } } module "install-docker-compose" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/init-snippet-install-docker-yum?ref=install-docker" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/init-snippet-install-docker-yum" } module "rds-sg" { @@ -147,7 +147,7 @@ resource "aws_security_group_rule" "rds_sg_rule" { } module "rds" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/rds?ref=rds" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/rds" db_engine = "postgres" db_instance_type = "db.m5.xlarge" db_name = "confluence" @@ -162,7 +162,7 @@ module "rds" { } module "int-alb" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb?ref=alb" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb" vpc_id = module.vpc.vpc_id name_prefix = "confluence-int" subnet_ids = module.vpc.public_subnet_ids @@ -190,7 +190,7 @@ module "int-alb-to-asg" { } module "int-forwarder" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb-default-forward?ref=alb" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb-default-forward" lb_arn = module.int-alb.lb_arn lb_port = 443 name_prefix = "confluence-int-https" @@ -201,14 +201,14 @@ module "int-forwarder" { } module "int-redirector" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb-redirect?ref=alb" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb-redirect" lb_arn = module.int-alb.lb_arn http_port = 80 https_port = 443 } module "ext-alb" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb?ref=alb" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb" vpc_id = module.vpc.vpc_id name_prefix = "confluence-ext" subnet_ids = module.vpc.public_subnet_ids @@ -237,7 +237,7 @@ module "ext-alb-to-asg" { } module "ext-forwarder" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb-default-forward?ref=alb" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb-default-forward" lb_arn = module.ext-alb.lb_arn lb_port = 443 name_prefix = "confluence-ext-https" @@ -248,7 +248,7 @@ module "ext-forwarder" { } module "ext-redirector" { - source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb-redirect?ref=alb" + source = "git::ssh://git@github.com/fpco/terraform-aws-foundation//modules/alb-redirect" lb_arn = module.ext-alb.lb_arn http_port = 80 https_port = 443