website: teach Terraform about the "legacy" web frontend resource group
This commit is contained in:
Родитель
f5981435aa
Коммит
b541b3d3c9
|
@ -23,6 +23,10 @@ variable "legacyNameCommunitiesStorage" {
|
|||
description = "The name to use for the 'legacy' storage account equivalent to 'wwtcommunity' in production"
|
||||
}
|
||||
|
||||
variable "legacyNameFrontendGroup" {
|
||||
description = "The name to use for the 'legacy' web frontend resource group"
|
||||
}
|
||||
|
||||
variable "legacyNameWwtcoreDBServer" {
|
||||
description = "The name to use for the 'legacy' SQL server with the AstroObjects and WWTTours databases"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# Terraform definitions of WWT's web frontend: the App Gateway, CDN setup, etc.
|
||||
|
||||
resource "azurerm_resource_group" "web_frontend_legacy" {
|
||||
name = var.legacyNameFrontendGroup
|
||||
location = var.location
|
||||
|
||||
lifecycle {
|
||||
prevent_destroy = true
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче