diff --git a/README.md b/README.md
index f630f92..1073f47 100644
--- a/README.md
+++ b/README.md
@@ -9,13 +9,13 @@ Terraform module for creation Azure Logic App Workflow
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.0 |
-| [azurerm](#requirement\_azurerm) | >= 3.23.0 |
+| [azurerm](#requirement\_azurerm) | >= 4.0.1 |
## Providers
| Name | Version |
|------|---------|
-| [azurerm](#provider\_azurerm) | >= 3.23.0 |
+| [azurerm](#provider\_azurerm) | >= 4.0.1 |
## Modules
@@ -23,27 +23,28 @@ No modules.
## Resources
-| Name | Type |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|
-| [azurerm_logic_app_workflow.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/logic_app_workflow) | resource |
-| [azurerm_monitor_diagnostic_setting.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_diagnostic_setting) | resource |
+| Name | Type |
+|------|------|
+| [azurerm_logic_app_workflow.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/logic_app_workflow) | resource |
+| [azurerm_monitor_diagnostic_setting.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_diagnostic_setting) | resource |
+| [azurerm_monitor_diagnostic_categories.this](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/monitor_diagnostic_categories) | data source |
## Inputs
-| Name | Description | Type | Default | Required |
-|----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------|----------------|-------------|:--------:|
-| [env](#input\_env) | Environment | `string` | n/a | yes |
-| [identity\_ids](#input\_identity\_ids) | List of user assigned identity IDs | `list(string)` | `null` | no |
-| [location](#input\_location) | Location | `string` | n/a | yes |
-| [name](#input\_name) | Logic app name | `string` | n/a | yes |
-| [parameters](#input\_parameters) | Parameters | `any` | `{}` | no |
-| [project](#input\_project) | Project name | `string` | n/a | yes |
-| [resource\_group](#input\_resource\_group) | Resource group name | `string` | n/a | yes |
-| [tags](#input\_tags) | Tags | `map(string)` | n/a | yes |
-| [workflow\_parameters](#input\_workflow\_parameters) | Workflow parameters | `any` | `{}` | no |
-| [analytics\_workspace\_id](#input\_analytics\_workspace\_id) | Resource ID of Log Analytics workspace | `string` | `null` | no |
-| [analytics\_destination\_type](#input\_analytics\_destination\_type) | Possible values are AzureDiagnostics and Dedicated. | `string` | `Dedicated` | no |
-| [enable\_diagnostic\_setting](#input\_enable\_diagnostic\_setting) | Enable diagnostic setting. var.analytics_workspace_id must be provided | `bool` | `false` | no |
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [analytics\_destination\_type](#input\_analytics\_destination\_type) | Possible values are AzureDiagnostics and Dedicated. | `string` | `"Dedicated"` | no |
+| [analytics\_workspace\_id](#input\_analytics\_workspace\_id) | Resource ID of Log Analytics Workspace | `string` | `null` | no |
+| [enable\_diagnostic\_setting](#input\_enable\_diagnostic\_setting) | Enable diagnostic setting. var.analytics\_workspace\_id must be provided | `bool` | `false` | no |
+| [env](#input\_env) | Environment | `string` | n/a | yes |
+| [identity\_ids](#input\_identity\_ids) | List of user assigned identity IDs | `list(string)` | `null` | no |
+| [location](#input\_location) | Location | `string` | n/a | yes |
+| [name](#input\_name) | Logic app name | `string` | n/a | yes |
+| [parameters](#input\_parameters) | Parameters | `any` | `{}` | no |
+| [project](#input\_project) | Project name | `string` | n/a | yes |
+| [resource\_group](#input\_resource\_group) | Resource group name | `string` | n/a | yes |
+| [tags](#input\_tags) | Tags | `map(string)` | n/a | yes |
+| [workflow\_parameters](#input\_workflow\_parameters) | Workflow parameters | `any` | `{}` | no |
## Outputs
diff --git a/versions.tf b/versions.tf
index 1bc56d6..c613f75 100644
--- a/versions.tf
+++ b/versions.tf
@@ -4,7 +4,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
- version = ">= 3.40.0"
+ version = ">= 4.0.1"
}
}
}