Skip to content

Commit 0ef949c

Browse files
Use TF registry rather than git (#9)
1 parent 283aee8 commit 0ef949c

File tree

7 files changed

+39
-13
lines changed

7 files changed

+39
-13
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
.venv
66
__pycache__
77
.pytest_cache
8-
.coverage
8+
.coverage
9+
.terraform.lock.hcl
10+
htmlcov

platform/production/us-east-1/000/terragrunt.hcl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ include "root" {
22
path = find_in_parent_folders()
33
}
44

5+
locals {
6+
git_tag = "1.0.3"
7+
}
8+
59
terraform {
6-
source = "git::https://github.com/launchbynttdata/tf-aws-module_primitive-lambda_function//.?ref=1.0.3"
7-
}
10+
source = "tfr://terraform.registry.launch.nttdata.com/module_primitive/lambda_function/aws?version=${local.git_tag}"
11+
}

platform/production/us-east-2/000/terragrunt.hcl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ include "root" {
22
path = find_in_parent_folders()
33
}
44

5+
locals {
6+
git_tag = "1.0.3"
7+
}
8+
59
terraform {
6-
source = "git::https://github.com/launchbynttdata/tf-aws-module_primitive-lambda_function//.?ref=1.0.3"
7-
}
10+
source = "tfr://terraform.registry.launch.nttdata.com/module_primitive/lambda_function/aws?version=${local.git_tag}"
11+
}

platform/sandbox/us-east-2/000/terragrunt.hcl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ include "root" {
22
path = find_in_parent_folders()
33
}
44

5+
locals {
6+
git_tag = "1.0.3"
7+
}
8+
59
terraform {
6-
source = "git::https://github.com/launchbynttdata/tf-aws-module_primitive-lambda_function//.?ref=1.0.3"
7-
}
10+
source = "tfr://terraform.registry.launch.nttdata.com/module_primitive/lambda_function/aws?version=${local.git_tag}"
11+
}

platform/sandbox/us-east-2/001/terragrunt.hcl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ include "root" {
22
path = find_in_parent_folders()
33
}
44

5+
locals {
6+
git_tag = "1.0.3"
7+
}
8+
59
terraform {
6-
source = "git::https://github.com/launchbynttdata/tf-aws-module_primitive-lambda_function//.?ref=1.0.3"
7-
}
10+
source = "tfr://terraform.registry.launch.nttdata.com/module_primitive/lambda_function/aws?version=${local.git_tag}"
11+
}

platform/sandbox/us-west-2/000/terragrunt.hcl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ include "root" {
22
path = find_in_parent_folders()
33
}
44

5+
locals {
6+
git_tag = "1.0.3"
7+
}
8+
59
terraform {
6-
source = "git::https://github.com/launchbynttdata/tf-aws-module_primitive-lambda_function//.?ref=1.0.3"
7-
}
10+
source = "tfr://terraform.registry.launch.nttdata.com/module_primitive/lambda_function/aws?version=${local.git_tag}"
11+
}

platform/sandbox/us-west-2/001/terragrunt.hcl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ include "root" {
22
path = find_in_parent_folders()
33
}
44

5+
locals {
6+
git_tag = "1.0.3"
7+
}
8+
59
terraform {
6-
source = "git::https://github.com/launchbynttdata/tf-aws-module_primitive-lambda_function//.?ref=1.0.3"
7-
}
10+
source = "tfr://terraform.registry.launch.nttdata.com/module_primitive/lambda_function/aws?version=${local.git_tag}"
11+
}

0 commit comments

Comments
 (0)