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"
}
}
}