Forked from CyprienLecallier/gist:b41354b225f75e2ea73c7a591a721026
Created
November 5, 2021 09:32
-
-
Save plopp/6b83cb61fcecd93b9f4775e4fbeda720 to your computer and use it in GitHub Desktop.
Fix typo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "azurerm_app_service" "my_app_service_container" { | |
name = "my_app_service_container" | |
location = "France central" | |
resource_group_name = "MYRG" | |
app_service_plan_id = azurerm_app_service_plan.my_service_plan.id | |
https_only = true | |
client_affinity_enabled = true | |
site_config { | |
scm_type = "VSTSRM" | |
always_on = "true" | |
linux_fx_version = "DOCKER|arc01.azurecr.io/myapp:latest" #define the images to use for you application | |
health_check_path = "/health" # health check required in order that internal app service plan loadbalancer do not loadbalance on instance down | |
} | |
identity { | |
type = "SystemAssigned, UserAssigned" | |
identity_ids = [data.azurerm_user_assigned_identity.assigned_identity_acr_pull.id] | |
} | |
app_settings = local.env_variables | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment