From 100309c167b00c7098bf5dcb5658f4bdeb60958a Mon Sep 17 00:00:00 2001 From: hezijie Date: Tue, 12 Nov 2024 14:56:31 +0800 Subject: [PATCH] bump azurerm provider to v4 --- README.md | 6 +++--- 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 | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1f08a7a..185016f 100644 --- a/README.md +++ b/README.md @@ -190,14 +190,14 @@ Originally created by [Eugene Chuvyrov](http://github.com/echuvyrov) | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.2 | -| [azurerm](#requirement\_azurerm) | >= 3.11, < 4.0 | +| [terraform](#requirement\_terraform) | >= 1.3.5 | +| [azurerm](#requirement\_azurerm) | ~> 4.0 | ## Providers | Name | Version | |------|---------| -| [azurerm](#provider\_azurerm) | >= 3.11, < 4.0 | +| [azurerm](#provider\_azurerm) | ~> 4.0 | ## Modules diff --git a/examples/all_default/providers.tf b/examples/all_default/providers.tf index b968eb0..8119d32 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, <4.0" + version = "~> 4.0" } random = { source = "hashicorp/random" diff --git a/examples/complete/providers.tf b/examples/complete/providers.tf index b968eb0..8119d32 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, <4.0" + version = "~> 4.0" } random = { source = "hashicorp/random" diff --git a/examples/new_route/providers.tf b/examples/new_route/providers.tf index b968eb0..8119d32 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, <4.0" + version = "~> 4.0" } random = { source = "hashicorp/random" diff --git a/examples/new_security_rule/providers.tf b/examples/new_security_rule/providers.tf index d701b20..2fbd8f6 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, <4.0" + version = "~> 4.0" } curl = { source = "anschoewe/curl" diff --git a/examples/private_link_endpoint/providers.tf b/examples/private_link_endpoint/providers.tf index b968eb0..8119d32 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, <4.0" + version = "~> 4.0" } random = { source = "hashicorp/random" diff --git a/examples/private_link_service/providers.tf b/examples/private_link_service/providers.tf index b968eb0..8119d32 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, <4.0" + version = "~> 4.0" } random = { source = "hashicorp/random" diff --git a/versions.tf b/versions.tf index 588b5f4..e98182f 100644 --- a/versions.tf +++ b/versions.tf @@ -1,10 +1,10 @@ terraform { - required_version = ">= 1.2" + required_version = ">= 1.3.5" required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.11, < 4.0" + version = "~> 4.0" } } }