From 0f5360e5d09a073579ade2b1d5276402181a18eb Mon Sep 17 00:00:00 2001 From: Nathan Parraga Thiesen Date: Wed, 8 Dec 2021 00:40:19 +0100 Subject: [PATCH 1/6] feat: update google provider to 4.x --- versions.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/versions.tf b/versions.tf index c4f0116..35f6912 100644 --- a/versions.tf +++ b/versions.tf @@ -2,6 +2,9 @@ terraform { required_version = ">= 0.14, < 2.0" required_providers { - google-beta = "~> 3.75" + google = { + source = "hashicorp/google" + version = ">= 3.75, < 5.0" + } } } From 9a69430ccc7f9d21e559a46886299cb031eaa45a Mon Sep 17 00:00:00 2001 From: Nathan Parraga Thiesen Date: Wed, 8 Dec 2021 00:40:23 +0100 Subject: [PATCH 2/6] chore: update github test workflow concurrency group --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e9e31ee..88485ad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ on: pull_request: concurrency: - group: main + group: terraform-google-artifact-registry-repository cancel-in-progress: false jobs: From 82219ca1495f480191b6a131c9e0466732281122 Mon Sep 17 00:00:00 2001 From: Nathan Parraga Thiesen Date: Thu, 9 Dec 2021 10:24:45 +0100 Subject: [PATCH 3/6] chore: set minimal provider version to 4.0 --- versions.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.tf b/versions.tf index 35f6912..c4f5931 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 3.75, < 5.0" + version = ">= 4.0, < 5.0" } } } From c1dee0a564633ce9fa2eec7ffadef979bda0916a Mon Sep 17 00:00:00 2001 From: Nathan Parraga Thiesen Date: Thu, 9 Dec 2021 10:25:38 +0100 Subject: [PATCH 4/6] doc: update CHANGELOG.md --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06ffded..48be2e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.2] + +### Added + +- Support for provider 4.x + ## [0.0.1] ### Added @@ -15,7 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 -[unreleased]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.0.1...HEAD +[unreleased]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.0.2...HEAD +[0.0.2]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/compare/v0.0.1...v0.0.2 [0.0.1]: https://github.com/mineiros-io/terraform-google-artifact-registry-repository/releases/tag/v0.0.1 From b41c2c6af649768ef44164068b3735d8e30094cd Mon Sep 17 00:00:00 2001 From: Nathan Parraga Thiesen Date: Tue, 14 Dec 2021 10:43:07 +0100 Subject: [PATCH 5/6] fix: set provider back to `google-beta` --- versions.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versions.tf b/versions.tf index c4f5931..a5e51ba 100644 --- a/versions.tf +++ b/versions.tf @@ -2,8 +2,8 @@ terraform { required_version = ">= 0.14, < 2.0" required_providers { - google = { - source = "hashicorp/google" + google-beta = { + source = "hashicorp/google-beta" version = ">= 4.0, < 5.0" } } From ccc0bc36ff24dcc1f4f84997afdd48f01cef7a99 Mon Sep 17 00:00:00 2001 From: Nathan Parraga Thiesen Date: Tue, 14 Dec 2021 10:43:21 +0100 Subject: [PATCH 6/6] feat: update `terraform-google-artifact-registry-repository-iam` to v0.0.2 --- iam.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam.tf b/iam.tf index ed46b25..6ae338f 100644 --- a/iam.tf +++ b/iam.tf @@ -9,7 +9,7 @@ locals { } module "iam" { - source = "github.com/mineiros-io/terraform-google-artifact-registry-repository-iam.git?ref=v0.0.1" + source = "github.com/mineiros-io/terraform-google-artifact-registry-repository-iam.git?ref=v0.0.2" for_each = var.policy_bindings != null ? local.policy_bindings : local.iam_map