From 806fe02afeac51862c75a9b08a8e0866ebb670e3 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Thu, 13 Jun 2024 11:27:01 -0700 Subject: [PATCH] fix(terraform): remove source control block this doesn't seem to be configurable via Terraform in a way that makes the UI match what we expect --- terraform/app_service.tf | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/terraform/app_service.tf b/terraform/app_service.tf index 920df890b4..981e6fd265 100644 --- a/terraform/app_service.tf +++ b/terraform/app_service.tf @@ -101,20 +101,6 @@ resource "azurerm_linux_web_app" "main" { } } -resource "azurerm_app_service_source_control" "main" { - app_id = azurerm_linux_web_app.main.id - repo_url = "https://github.com/cal-itp/benefits" - branch = local.env_name - - github_action_configuration { - generate_workflow_file = false - container_configuration { - registry_url = "https://ghcr.io/" - image_name = "cal-itp/benefits" - } - } -} - resource "azurerm_app_service_custom_hostname_binding" "main" { hostname = local.hostname app_service_name = azurerm_linux_web_app.main.name