Skip to content

Commit e40c9fe

Browse files
authored
Fix: Adjust module source to support terraform 1.10.x (#33)
* Adjusted module source to support terraform 1.10.x * Regenerated TF docs * Updated docs for main README
1 parent 47e72d2 commit e40c9fe

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Once you are finished with the reference architecture, you can remove all provis
251251
|------|--------|---------|
252252
| base | ./modules/base | n/a |
253253
| github | ./modules/github | n/a |
254-
| github\_app | github.com/humanitec-architecture/shared-terraform-modules | v2024-06-12//modules/github-app |
254+
| github\_app | github.com/humanitec-architecture/shared-terraform-modules//modules/github-app | v2024-06-12 |
255255
| portal\_backstage | ./modules/portal-backstage | n/a |
256256
257257
### Resources

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ locals {
5454
module "github_app" {
5555
count = var.with_backstage ? 1 : 0
5656

57-
source = "github.com/humanitec-architecture/shared-terraform-modules?ref=v2024-06-12//modules/github-app"
57+
source = "github.com/humanitec-architecture/shared-terraform-modules//modules/github-app?ref=v2024-06-12"
5858

5959
credentials_file = "${path.module}/${local.github_app_credentials_file}"
6060
}

modules/htc_res_defs/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
| Name | Source | Version |
1818
|------|--------|---------|
19-
| default\_mysql | github.com/humanitec-architecture/resource-packs-in-cluster | v2024-06-05//humanitec-resource-defs/mysql/basic |
20-
| default\_postgres | github.com/humanitec-architecture/resource-packs-in-cluster | v2024-06-05//humanitec-resource-defs/postgres/basic |
19+
| default\_mysql | github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/mysql/basic | v2024-06-05 |
20+
| default\_postgres | github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/postgres/basic | v2024-06-05 |
2121

2222
### Resources
2323

modules/htc_res_defs/main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ resource "humanitec_resource_definition_criteria" "k8s_namespace" {
4949
# in-cluster postgres
5050

5151
module "default_postgres" {
52-
source = "github.com/humanitec-architecture/resource-packs-in-cluster?ref=v2024-06-05//humanitec-resource-defs/postgres/basic"
52+
source = "github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/postgres/basic?ref=v2024-06-05"
5353

5454
prefix = var.prefix
5555
}
@@ -63,7 +63,7 @@ resource "humanitec_resource_definition_criteria" "default_postgres" {
6363
}
6464

6565
module "default_mysql" {
66-
source = "github.com/humanitec-architecture/resource-packs-in-cluster?ref=v2024-06-05//humanitec-resource-defs/mysql/basic"
66+
source = "github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/mysql/basic?ref=v2024-06-05"
6767

6868
prefix = var.prefix
6969
}

modules/portal-backstage/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
| Name | Source | Version |
1919
|------|--------|---------|
20-
| backstage\_postgres | github.com/humanitec-architecture/resource-packs-in-cluster | v2024-06-05//humanitec-resource-defs/postgres/basic |
21-
| portal\_backstage | github.com/humanitec-architecture/shared-terraform-modules | v2024-06-12//modules/portal-backstage |
20+
| backstage\_postgres | github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/postgres/basic | v2024-06-05 |
21+
| portal\_backstage | github.com/humanitec-architecture/shared-terraform-modules//modules/portal-backstage | v2024-06-12 |
2222

2323
### Resources
2424

modules/portal-backstage/main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ locals {
2020
}
2121

2222
module "portal_backstage" {
23-
source = "github.com/humanitec-architecture/shared-terraform-modules?ref=v2024-06-12//modules/portal-backstage"
23+
source = "github.com/humanitec-architecture/shared-terraform-modules//modules/portal-backstage?ref=v2024-06-12"
2424

2525
cloud_provider = "gcp"
2626

@@ -45,7 +45,7 @@ locals {
4545
# in-cluster postgres
4646

4747
module "backstage_postgres" {
48-
source = "github.com/humanitec-architecture/resource-packs-in-cluster?ref=v2024-06-05//humanitec-resource-defs/postgres/basic"
48+
source = "github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/postgres/basic?ref=v2024-06-05"
4949

5050
prefix = local.res_def_prefix
5151
}

0 commit comments

Comments
 (0)