Skip to content

Commit

Permalink
Remove frontdoor from architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
frasermolyneux committed Feb 8, 2024
1 parent 56daa81 commit 5122309
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 116 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/destroy-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: frasermolyneux/actions/terraform-destroy-resources@main
- uses: frasermolyneux/actions/terraform-destroy@main
with:
terraform-folder: "terraform"
terraform-var-file: "tfvars/dev.tfvars"
terraform-backend-file: "backends/dev.backend.hcl"
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
resources: "[\"azurerm_management_lock.rg_lock\",\"azurerm_management_lock.kv_lock\",\"azurerm_linux_web_app.app\"]"
2 changes: 1 addition & 1 deletion terraform/api_management_api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "azurerm_api_management_backend" "webapi_api_management_backend" {
protocol = "http"
title = local.workload_name
description = local.workload_name
url = format("https://%s.%s", local.workload_name, var.dns_zone_name)
url = format("https://%s", azurerm_linux_web_app.app.default_hostname)

tls {
validate_certificate_chain = true
Expand Down
5 changes: 0 additions & 5 deletions terraform/data.dnz_zone.tf

This file was deleted.

5 changes: 0 additions & 5 deletions terraform/data.frontdoor.tf

This file was deleted.

103 changes: 0 additions & 103 deletions terraform/frontdoor.tf

This file was deleted.

0 comments on commit 5122309

Please sign in to comment.