From 034773cafc9dce1957e14c329aaacfc9c98f5b67 Mon Sep 17 00:00:00 2001 From: zjhe Date: Fri, 14 Oct 2022 16:35:47 +0800 Subject: [PATCH 1/2] Limit `azurerm`'s version to `>= 3.11, < 4.0` because `enforce_private_link_endpoint_network_policies` will be removed in `4.0`. --- README.md | 14 +++++++------- examples/all_default/providers.tf | 2 +- examples/complete/providers.tf | 2 +- examples/new_route/providers.tf | 2 +- examples/new_security_rule/providers.tf | 2 +- examples/private_link_endpoint/providers.tf | 2 +- examples/private_link_service/providers.tf | 2 +- versions.tf | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 8609446..73a7f34 100644 --- a/README.md +++ b/README.md @@ -116,16 +116,16 @@ Originally created by [Eugene Chuvyrov](http://github.com/echuvyrov) ## Requirements -| Name | Version | -|---------------------------------------------------------------------------|---------| -| [terraform](#requirement\_terraform) | >= 1.2 | -| [azurerm](#requirement\_azurerm) | >= 3.11 | +| Name | Version | +|---------------------------------------------------------------------------|----------------| +| [terraform](#requirement\_terraform) | >= 1.2 | +| [azurerm](#requirement\_azurerm) | >= 3.11, < 4.0 | ## Providers -| Name | Version | -|---------------------------------------------------------------|---------| -| [azurerm](#provider\_azurerm) | >= 3.11 | +| Name | Version | +|---------------------------------------------------------------|----------------| +| [azurerm](#provider\_azurerm) | >= 3.11, < 4.0 | ## Modules diff --git a/examples/all_default/providers.tf b/examples/all_default/providers.tf index 9cfcc12..b968eb0 100644 --- a/examples/all_default/providers.tf +++ b/examples/all_default/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">=3.11.0" + version = ">=3.11.0, <4.0" } random = { source = "hashicorp/random" diff --git a/examples/complete/providers.tf b/examples/complete/providers.tf index 9cfcc12..b968eb0 100644 --- a/examples/complete/providers.tf +++ b/examples/complete/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">=3.11.0" + version = ">=3.11.0, <4.0" } random = { source = "hashicorp/random" diff --git a/examples/new_route/providers.tf b/examples/new_route/providers.tf index 9cfcc12..b968eb0 100644 --- a/examples/new_route/providers.tf +++ b/examples/new_route/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">=3.11.0" + version = ">=3.11.0, <4.0" } random = { source = "hashicorp/random" diff --git a/examples/new_security_rule/providers.tf b/examples/new_security_rule/providers.tf index 6c79add..d701b20 100644 --- a/examples/new_security_rule/providers.tf +++ b/examples/new_security_rule/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">=3.11.0" + version = ">=3.11.0, <4.0" } curl = { source = "anschoewe/curl" diff --git a/examples/private_link_endpoint/providers.tf b/examples/private_link_endpoint/providers.tf index 9cfcc12..b968eb0 100644 --- a/examples/private_link_endpoint/providers.tf +++ b/examples/private_link_endpoint/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">=3.11.0" + version = ">=3.11.0, <4.0" } random = { source = "hashicorp/random" diff --git a/examples/private_link_service/providers.tf b/examples/private_link_service/providers.tf index 9cfcc12..b968eb0 100644 --- a/examples/private_link_service/providers.tf +++ b/examples/private_link_service/providers.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">=3.11.0" + version = ">=3.11.0, <4.0" } random = { source = "hashicorp/random" diff --git a/versions.tf b/versions.tf index 00b955b..588b5f4 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.11" + version = ">= 3.11, < 4.0" } } } From 14c1309f75bd52db2fa2093232fc53885f3fc6ea Mon Sep 17 00:00:00 2001 From: zjhe Date: Fri, 14 Oct 2022 16:43:04 +0800 Subject: [PATCH 2/2] retrigger ci