Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote SSL Cert #7091

Merged
merged 3 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "new-sr-wildcard"
ssl_certificate_name = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.name
}

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

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 = "new-sr-wildcard"
ssl_certificate_name = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.name
}

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

ssl_policy {
Expand Down
2 changes: 1 addition & 1 deletion ops/services/app_service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ resource "azurerm_app_service_certificate" "app" {
name = "new-sr-wildcard"
resource_group_name = var.resource_group_name
location = var.resource_group_location
key_vault_secret_id = "https://simple-report-global.vault.azure.net/certificates/new-sr-wildcard/387cec9bcc254ac7970aa21311b075fc"
key_vault_secret_id = data.azurerm_key_vault_certificate.wildcard_simplereport_gov.secret_id
}

resource "azurerm_app_service_certificate_binding" "app" {
Expand Down
Loading