Skip to content

Commit

Permalink
feat: update SSL certificate and secret ID for Azure Application Gate…
Browse files Browse the repository at this point in the history
…way (#7086)
  • Loading branch information
alismx authored Dec 14, 2023
1 parent 8f1682d commit 303c551
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ops/prod/app_gateway_url_redirects.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ resource "azurerm_application_gateway" "www_redirect" {
frontend_ip_configuration_name = local.frontend_config
frontend_port_name = local.https_listener
protocol = "Https"
ssl_certificate_name = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.name
ssl_certificate_name = "new-sr-wildcard"
}

ssl_certificate {
name = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.name
key_vault_secret_id = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.secret_id
name = "new-sr-wildcard"
key_vault_secret_id = "https://simple-report-global.vault.azure.net/secrets/new-sr-wildcard/387cec9bcc254ac7970aa21311b075fc"
}

ssl_policy {
Expand Down
6 changes: 3 additions & 3 deletions ops/services/app_gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,12 @@ resource "azurerm_application_gateway" "load_balancer" {
frontend_ip_configuration_name = local.frontend_config
frontend_port_name = local.https_listener
protocol = "Https"
ssl_certificate_name = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.name
ssl_certificate_name = "new-sr-wildcard"
}

ssl_certificate {
name = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.name
key_vault_secret_id = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.secret_id
name = "new-sr-wildcard"
key_vault_secret_id = "https://simple-report-global.vault.azure.net/secrets/new-sr-wildcard/387cec9bcc254ac7970aa21311b075fc"
}

ssl_policy {
Expand Down

0 comments on commit 303c551

Please sign in to comment.