Created
April 27, 2020 17:32
-
-
Save dilani14/a7d8014fe5255f5692fea572778352a6 to your computer and use it in GitHub Desktop.
deploy app service
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_plan" "serviceplan" { | |
name = "diltf-appserviceplan" | |
location = var.location | |
resource_group_name = azurerm_resource_group.rg.name | |
sku { | |
tier = "Standard" | |
size = "S1" | |
} | |
} | |
resource "azurerm_app_service" "appservice" { | |
name = "diltf-app-service" | |
location = var.location | |
resource_group_name = azurerm_resource_group.rg.name | |
app_service_plan_id = azurerm_app_service_plan.serviceplan.id | |
app_settings = { | |
"ASPNETCORE_ENVIRONMENT" = "QA" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment