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

Commit

Permalink
Update module source to registry style
Browse files Browse the repository at this point in the history
  • Loading branch information
Magicloud committed Mar 10, 2020
1 parent ae38375 commit 3210e7e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions examples/confluence/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ resource "aws_security_group_rule" "asg_ext_alb_http_port_sg_rule" {
}

module "asg" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/single-node-asg"
source = "fpco/foundation/aws//modules/single-node-asg"
ami = module.centos.id
instance_type = "m5.xlarge"
key_name = var.ssh_key
Expand Down Expand Up @@ -120,13 +120,13 @@ data "template_file" "docker_compose" {
}

module "data-backup" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/dlm-lifecycle-policy"
source = "fpco/foundation/aws//modules/dlm-lifecycle-policy"
name_prefix = "confluence"
ebs_target_tags = { Name = module.asg.data_volume_name_tag }
}

module "install-docker-compose" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/init-snippet-install-docker-yum"
source = "fpco/foundation/aws//modules/init-snippet-install-docker-yum"
}

module "rds-sg" {
Expand All @@ -147,7 +147,7 @@ resource "aws_security_group_rule" "rds_sg_rule" {
}

module "rds" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/rds"
source = "fpco/foundation/aws//modules/rds"
db_engine = "postgres"
db_instance_type = "db.m5.xlarge"
db_name = "confluence"
Expand All @@ -162,7 +162,7 @@ module "rds" {
}

module "int-alb" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb"
source = "fpco/foundation/aws//modules/alb"
vpc_id = module.vpc.vpc_id
name_prefix = "confluence-int"
subnet_ids = module.vpc.public_subnet_ids
Expand Down Expand Up @@ -190,7 +190,7 @@ module "int-alb-to-asg" {
}

module "int-forwarder" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb-default-forward"
source = "fpco/foundation/aws//modules/alb-default-forward"
lb_arn = module.int-alb.lb_arn
lb_port = 443
name_prefix = "confluence-int-https"
Expand All @@ -201,14 +201,14 @@ module "int-forwarder" {
}

module "int-redirector" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb-redirect"
source = "fpco/foundation/aws//modules/alb-redirect"
lb_arn = module.int-alb.lb_arn
http_port = 80
https_port = 443
}

module "ext-alb" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb"
source = "fpco/foundation/aws//modules/alb"
vpc_id = module.vpc.vpc_id
name_prefix = "confluence-ext"
subnet_ids = module.vpc.public_subnet_ids
Expand Down Expand Up @@ -237,7 +237,7 @@ module "ext-alb-to-asg" {
}

module "ext-forwarder" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb-default-forward"
source = "fpco/foundation/aws//modules/alb-default-forward"
lb_arn = module.ext-alb.lb_arn
lb_port = 443
name_prefix = "confluence-ext-https"
Expand All @@ -248,7 +248,7 @@ module "ext-forwarder" {
}

module "ext-redirector" {
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb-redirect"
source = "fpco/foundation/aws//modules/alb-redirect"
lb_arn = module.ext-alb.lb_arn
http_port = 80
https_port = 443
Expand Down

0 comments on commit 3210e7e

Please sign in to comment.