Skip to content

Commit dcc6db5

Browse files
authored
Merge pull request #25 from humanitec-architecture/change-module-source-format
Fix: Adjust module source to support terraform 1.10.x
2 parents b7d70d6 + b9e0326 commit dcc6db5

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Once you are finished with the reference architecture, you can remove all provis
255255
|------|--------|---------|
256256
| base | ./modules/base | n/a |
257257
| github | ./modules/github | n/a |
258-
| github\_app | github.com/humanitec-architecture/shared-terraform-modules | v2024-06-12//modules/github-app |
258+
| github\_app | github.com/humanitec-architecture/shared-terraform-modules//modules/github-app | v2024-06-12 |
259259
| portal\_backstage | ./modules/portal-backstage | n/a |
260260

261261
### Resources

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ locals {
5353
module "github_app" {
5454
count = var.with_backstage ? 1 : 0
5555

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

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

modules/base/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ Module that provides the reference architecture.
3030
| Name | Source | Version |
3131
|------|--------|---------|
3232
| azure\_aks | Azure/aks/azurerm | ~> 7 |
33-
| default\_mysql | github.com/humanitec-architecture/resource-packs-in-cluster | v2024-11-05//humanitec-resource-defs/mysql/basic |
34-
| default\_postgres | github.com/humanitec-architecture/resource-packs-in-cluster | v2024-11-05//humanitec-resource-defs/postgres/basic |
33+
| default\_mysql | github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/mysql/basic | v2024-11-05 |
34+
| default\_postgres | github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/postgres/basic | v2024-11-05 |
3535

3636
### Resources
3737

modules/base/humanitec.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ resource "humanitec_resource_definition_criteria" "k8s_namespace" {
5454
# in-cluster postgres
5555

5656
module "default_postgres" {
57-
source = "github.com/humanitec-architecture/resource-packs-in-cluster?ref=v2024-11-05//humanitec-resource-defs/postgres/basic"
57+
source = "github.com/humanitec-architecture/resource-packs-in-cluster//humanitec-resource-defs/postgres/basic?ref=v2024-11-05"
5858

5959
prefix = "default-"
6060
}
@@ -65,7 +65,7 @@ resource "humanitec_resource_definition_criteria" "default_postgres" {
6565
}
6666

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

7070
prefix = "default-"
7171
}

modules/portal-backstage/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

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

2222
### Resources
2323

modules/portal-backstage/main.tf

Lines changed: 2 additions & 2 deletions
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 = "azure"
2626

@@ -49,7 +49,7 @@ locals {
4949
# in-cluster postgres
5050

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

5454
prefix = local.res_def_prefix
5555
}

0 commit comments

Comments
 (0)