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

Dtspo 13990 frontdoor for migration tool #479

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
20 changes: 20 additions & 0 deletions components/frontdoor/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,23 @@ module "landing_zone" {
key_vault_resource_group = "sds-platform-${var.environment}-rg"
log_analytics_workspace_id = module.logworkspace.workspace_id
}

module "frontdoor_testing_migration" {
source = "git::https://github.com/hmcts/terraform-module-frontdoor.git?ref=master"

common_tags = module.ctags.common_tags
env = "sbox"
project = "hmcts-test1"
location = var.location
frontends = var.frontends
ssl_mode = "FrontDoor"
resource_group = azurerm_resource_group.fd_rg.name
subscription_id = data.azurerm_subscription.current.subscription_id
certificate_key_vault_name = local.vault_name
oms_env = var.oms_env
certificate_name_check = true
key_vault_resource_group = "sds-platform-${var.environment}-rg"
log_analytics_workspace_id = module.logworkspace.workspace_id
add_access_policy = "false"
add_access_policy_role = "false"
}
10 changes: 10 additions & 0 deletions environments/sbox/sbox.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ frontends = [
certificate_name = "wildcard-sandbox-platform-hmcts-net"
backend_domain = ["firewall-sbox-int-palo-sdssbox.uksouth.cloudapp.azure.com"]
disabled_rules = {}
shutter_app = false
},
{

name = "toffee2"
custom_domain = "toffee2.sandbox.platform.hmcts.net"
certificate_name = "wildcard-sandbox-platform-hmcts-net"
backend_domain = ["firewall-sbox-int-palo-sdssbox.uksouth.cloudapp.azure.com"]
disabled_rules = {}
shutter_app = false
},
{
product = "sds-api-mgmt"
Expand Down