We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform v0.14.7 + provider registry.terraform.io/hashicorp/azurerm v2.44.0
azurerm_resource_group_template_deployment
"type": "Microsoft.Web/sites/config"
"type": "Microsoft.Web/sites/slots/config"
resource "azurerm_resource_group_template_deployment" "api_virtual_directory" { name = "api_virtual_directory" resource_group_name = azurerm_resource_group.digital.name deployment_mode = "Incremental" template_content = <<TEMPLATE { "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "webAppName": { "type": "String", "defaultValue": "${module.webapp["api"].name}" }, "virtualApplications":{ "type": "Array", "defaultValue":[ { "virtualPath": "/", "physicalPath": "site\\wwwroot", "preloadEnabled": false, "virtualDirectories": null }, { "virtualPath": "/app1", "physicalPath": "site\\wwwroot\\app1", "preloadEnabled": false, "virtualDirectories": null }, { "virtualPath": "/app2", "physicalPath": "site\\wwwroot\\app2", "preloadEnabled": false, "virtualDirectories": null } ] } }, "resources": [ { "type": "Microsoft.Web/sites/config", "name": "[concat(parameters('webAppName'), '/web')]", "apiVersion": "2020-06-01", "properties": { "virtualApplications": "[parameters('virtualApplications')]" } } ] } TEMPLATE depends_on = [module.webapp["api"]] }
Terraform should detect that the site config has drifted, and should apply those virtual directories
Virtual directories are not created for the web app
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_resource_group_template_deployment
In this scenario, it is
"type": "Microsoft.Web/sites/config"
and"type": "Microsoft.Web/sites/slots/config"
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
Terraform should detect that the site config has drifted, and should apply those virtual directories
Actual Behaviour
Virtual directories are not created for the web app
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: