Skip to content

Commit

Permalink
Updated to latest version of WAF module
Browse files Browse the repository at this point in the history
- Stabilised provider version requirements
  • Loading branch information
DrizzlyOwl committed Dec 12, 2024
1 parent fd6a190 commit 2c6ea44
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 51 deletions.
66 changes: 28 additions & 38 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,23 @@ key = "terraform.tstate"

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.6.1 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | >= 3.51.0 |
| <a name="requirement_null"></a> [null](#requirement\_null) | 3.2.3 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | ~> 1.9 |
| <a name="requirement_azapi"></a> [azapi](#requirement\_azapi) | ~> 1.13 |
| <a name="requirement_azurerm"></a> [azurerm](#requirement\_azurerm) | ~> 4.0 |
| <a name="requirement_null"></a> [null](#requirement\_null) | ~> 3.2 |

## Providers

| Name | Version |
|------|---------|
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 4.3.0 |
| <a name="provider_azurerm"></a> [azurerm](#provider\_azurerm) | 4.13.0 |
| <a name="provider_null"></a> [null](#provider\_null) | 3.2.3 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| <a name="module_waf"></a> [waf](#module\_waf) | github.com/DFE-Digital/terraform-azurerm-front-door-app-gateway-waf | v1.3.0 |
| <a name="module_waf"></a> [waf](#module\_waf) | github.com/DFE-Digital/terraform-azurerm-front-door-app-gateway-waf | v1.4.0 |

## Resources

Expand All @@ -74,8 +75,8 @@ key = "terraform.tstate"
| [azurerm_storage_blob.tfvars](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_blob) | resource |
| [azurerm_storage_blob.waftfvars](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_blob) | resource |
| [azurerm_storage_container.tfvars](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/storage_container) | resource |
| [null_resource.tfvars](https://registry.terraform.io/providers/hashicorp/null/3.2.3/docs/resources/resource) | resource |
| [null_resource.waftfvars](https://registry.terraform.io/providers/hashicorp/null/3.2.3/docs/resources/resource) | resource |
| [null_resource.tfvars](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [null_resource.waftfvars](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [azurerm_container_app.container_apps](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/container_app) | data source |
| [azurerm_linux_web_app.web_apps](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_web_app) | data source |
| [azurerm_resource_group.container_apps](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/resource_group) | data source |
Expand Down
17 changes: 12 additions & 5 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
terraform {
required_version = ">= 1.6.1"
required_version = "~> 1.9"

required_providers {
null = {
source = "hashicorp/null"
version = "~> 3.2"
}

azurerm = {
source = "hashicorp/azurerm"
version = ">= 3.51.0"
version = "~> 4.0"
}
null = {
source = "hashicorp/null"
version = "3.2.3"

azapi = {
source = "Azure/azapi"
version = "~> 1.13"
}
}
}
3 changes: 2 additions & 1 deletion waf.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "waf" {
source = "github.com/DFE-Digital/terraform-azurerm-front-door-app-gateway-waf?ref=v1.3.0"
source = "github.com/DFE-Digital/terraform-azurerm-front-door-app-gateway-waf?ref=v1.4.0"

environment = local.environment
project_name = local.project_name
Expand All @@ -18,6 +18,7 @@ module "waf" {

app_gateway_v2_waf_managed_rulesets = local.app_gateway_v2_waf_managed_rulesets
app_gateway_v2_waf_managed_rulesets_exclusions = local.app_gateway_v2_waf_managed_rulesets_exclusions
app_gateway_v2_waf_request_body_enforcement = false

enable_key_vault_app_gateway_certificates = false

Expand Down

0 comments on commit 2c6ea44

Please sign in to comment.