Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.windowsappservice["xyz"].azurerm_windows_web_app.webapp will be updated in-place
~ resource "azurerm_windows_web_app" "webapp" {
id = "id"
name = "xyz"
tags = {}
# (25 unchanged attributes hidden)
+ backup {
+ enabled = true
+ name = "xyz"
+ storage_account_url = (sensitive value)
+ schedule {
+ frequency_interval = 1
+ frequency_unit = "Day"
+ keep_at_least_one_backup = true
+ retention_period_days = 60
+ start_time = "time"
}
}
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Expected Behaviour
Created Custom Backup should have "Backup/restore over virtual network Integration" Option Enbaled.
"vnetBackupRestoreEnabled": true
Actual Behaviour
"vnetBackupRestoreEnabled": false
Since this option is not True/Checked, my backups are failing as the destination Storage account has firewall turned on and can be accessed only from the Vnet.
Also, I couldn't find any option in the backup block of azurerm_windows_web_app to set "Backup/restore over virtual network Integration" True or False.
Is there an existing issue for this?
Community Note
Terraform Version
1.8.3
AzureRM Provider Version
3.104.0
Affected Resource(s)/Data Source(s)
azurerm_windows_web_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Created Custom Backup should have "Backup/restore over virtual network Integration" Option Enbaled. "vnetBackupRestoreEnabled": true
Actual Behaviour
"vnetBackupRestoreEnabled": false
Since this option is not True/Checked, my backups are failing as the destination Storage account has firewall turned on and can be accessed only from the Vnet.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response