Created
November 30, 2020 16:58
-
-
Save CyprienLecallier/b72cb70e1b55b143ccc41c8f7710ac3d to your computer and use it in GitHub Desktop.
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_slot" "my_app_service_container_staging" { | |
name = "staging" | |
app_service_name = azurerm_app_service.my_app_service_container.name | |
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" | |
health_check_path = "/login" | |
} | |
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