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

Commit 3210e7e

Browse files
committed
Update module source to registry style
1 parent ae38375 commit 3210e7e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

examples/confluence/main.tf

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ resource "aws_security_group_rule" "asg_ext_alb_http_port_sg_rule" {
7878
}
7979

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

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

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

132132
module "rds-sg" {
@@ -147,7 +147,7 @@ resource "aws_security_group_rule" "rds_sg_rule" {
147147
}
148148

149149
module "rds" {
150-
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/rds"
150+
source = "fpco/foundation/aws//modules/rds"
151151
db_engine = "postgres"
152152
db_instance_type = "db.m5.xlarge"
153153
db_name = "confluence"
@@ -162,7 +162,7 @@ module "rds" {
162162
}
163163

164164
module "int-alb" {
165-
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb"
165+
source = "fpco/foundation/aws//modules/alb"
166166
vpc_id = module.vpc.vpc_id
167167
name_prefix = "confluence-int"
168168
subnet_ids = module.vpc.public_subnet_ids
@@ -190,7 +190,7 @@ module "int-alb-to-asg" {
190190
}
191191

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

203203
module "int-redirector" {
204-
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb-redirect"
204+
source = "fpco/foundation/aws//modules/alb-redirect"
205205
lb_arn = module.int-alb.lb_arn
206206
http_port = 80
207207
https_port = 443
208208
}
209209

210210
module "ext-alb" {
211-
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb"
211+
source = "fpco/foundation/aws//modules/alb"
212212
vpc_id = module.vpc.vpc_id
213213
name_prefix = "confluence-ext"
214214
subnet_ids = module.vpc.public_subnet_ids
@@ -237,7 +237,7 @@ module "ext-alb-to-asg" {
237237
}
238238

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

250250
module "ext-redirector" {
251-
source = "git::ssh://[email protected]/fpco/terraform-aws-foundation//modules/alb-redirect"
251+
source = "fpco/foundation/aws//modules/alb-redirect"
252252
lb_arn = module.ext-alb.lb_arn
253253
http_port = 80
254254
https_port = 443

0 commit comments

Comments
 (0)