Skip to content

Commit 61645c9

Browse files
authored
Fix: terraform source control block (#2160)
2 parents 9556fe5 + f7951f7 commit 61645c9

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

terraform/app_service.tf

+12-3
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,18 @@ resource "azurerm_linux_web_app" "main" {
102102
}
103103

104104
resource "azurerm_app_service_source_control" "main" {
105-
app_id = azurerm_linux_web_app.main.id
106-
repo_url = "https://github.com/cal-itp/benefits"
107-
branch = local.env_name
105+
app_id = azurerm_linux_web_app.main.id
106+
repo_url = "https://github.com/cal-itp/benefits"
107+
branch = local.env_name
108+
use_manual_integration = true
109+
110+
github_action_configuration {
111+
generate_workflow_file = false
112+
container_configuration {
113+
registry_url = "https://ghcr.io/"
114+
image_name = "cal-itp/benefits"
115+
}
116+
}
108117
}
109118

110119
resource "azurerm_app_service_custom_hostname_binding" "main" {

0 commit comments

Comments
 (0)