From e781a224a6f5003f5305fd6bf74b749cfabbfaa6 Mon Sep 17 00:00:00 2001 From: Roman Schwarz Date: Fri, 20 Sep 2024 21:37:51 +0200 Subject: [PATCH 1/4] Run remote test with fixed minimum provider version Signed-off-by: Roman Schwarz --- tests/remote/terraform.tf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/remote/terraform.tf b/tests/remote/terraform.tf index fb9dca1..4e063c3 100644 --- a/tests/remote/terraform.tf +++ b/tests/remote/terraform.tf @@ -1,25 +1,25 @@ terraform { - required_version = "~> 1.9" + required_version = "1.9.0" required_providers { azapi = { source = "azure/azapi" - version = "~> 1.14" + version = "1.14.0" } azurerm = { source = "hashicorp/azurerm" - version = "~> 4.1" + version = "4.1.0" } random = { source = "hashicorp/random" - version = "~> 3.0" + version = "3.0" } tls = { source = "hashicorp/tls" - version = "~> 4.0" + version = "4.0.0" } } } From 553e87667df7a40543045cd0436679c660482cd3 Mon Sep 17 00:00:00 2001 From: Roman Schwarz Date: Fri, 20 Sep 2024 21:38:38 +0200 Subject: [PATCH 2/4] Use random provider version `3.1.0` Signed-off-by: Roman Schwarz --- README.md | 2 +- tests/remote/terraform.tf | 2 +- versions.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0ed779f..ab1cfa8 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ The following providers are used by this module: - [azurerm](#provider\_azurerm) (>= 4.1) -- [random](#provider\_random) (>= 3.0) +- [random](#provider\_random) (>= 3.1) - [tls](#provider\_tls) (>= 4.0) diff --git a/tests/remote/terraform.tf b/tests/remote/terraform.tf index 4e063c3..457d6f0 100644 --- a/tests/remote/terraform.tf +++ b/tests/remote/terraform.tf @@ -14,7 +14,7 @@ terraform { random = { source = "hashicorp/random" - version = "3.0" + version = "3.1.0" } tls = { diff --git a/versions.tf b/versions.tf index 3444340..e0dfad7 100644 --- a/versions.tf +++ b/versions.tf @@ -14,7 +14,7 @@ terraform { random = { source = "hashicorp/random" - version = ">= 3.0" + version = ">= 3.1" } tls = { From f9ae97f1b579314af667222b8f148b4de9dddf09 Mon Sep 17 00:00:00 2001 From: Roman Schwarz Date: Mon, 23 Sep 2024 09:16:05 +0200 Subject: [PATCH 3/4] WIP: test workflow from feature ref Signed-off-by: Roman Schwarz --- .github/workflows/module-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/module-ci.yaml b/.github/workflows/module-ci.yaml index ec15a50..76d5109 100644 --- a/.github/workflows/module-ci.yaml +++ b/.github/workflows/module-ci.yaml @@ -15,7 +15,7 @@ on: jobs: module-ci: - uses: cloudeteer/terraform-governance/.github/workflows/module-ci.yaml@main + uses: cloudeteer/terraform-governance/.github/workflows/module-ci.yaml@42-use-a-specific-terraform-version-during-githubu-actions permissions: contents: write id-token: write From 8d59e1207adfc5ecc855b36d3702f2f85f4aa21c Mon Sep 17 00:00:00 2001 From: Roman Schwarz Date: Mon, 30 Sep 2024 12:48:51 +0200 Subject: [PATCH 4/4] Switch to `main` ref on workflow Signed-off-by: Roman Schwarz --- .github/workflows/module-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/module-ci.yaml b/.github/workflows/module-ci.yaml index 76d5109..ec15a50 100644 --- a/.github/workflows/module-ci.yaml +++ b/.github/workflows/module-ci.yaml @@ -15,7 +15,7 @@ on: jobs: module-ci: - uses: cloudeteer/terraform-governance/.github/workflows/module-ci.yaml@42-use-a-specific-terraform-version-during-githubu-actions + uses: cloudeteer/terraform-governance/.github/workflows/module-ci.yaml@main permissions: contents: write id-token: write