Skip to content

Commit

Permalink
fix: default_ssl_policy parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gareda committed Sep 28, 2024
1 parent c3137ea commit 370231c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,10 @@ resource "azurerm_application_gateway" "main" {
}


dynamic "ssl_policy" {
for_each = var.default_ssl_policy != null ? [""] : []

content {
policy_type = ssl_policy.value.policy_type
policy_name = ssl_policy.value.policy_name
min_protocol_version = ssl_policy.value.min_protocol_version
}
ssl_policy {
policy_type = var.default_ssl_policy.policy_type
policy_name = var.default_ssl_policy.policy_name
min_protocol_version = var.default_ssl_policy.min_protocol_version
}

dynamic "ssl_profile" {
Expand Down

0 comments on commit 370231c

Please sign in to comment.