Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Description
Azure Seite Recovery Vault provides the possibility to add mail responders for replication alerts.
It seems to be a sub resource of Microsoft.RecoveryServices and the resource will be created implicitly (empty) on creation time of the recovery vault itself. For this reason only HTTP PUT operations are supported on ARM Template site. HTTP DELETE or HTTP POST will result in a internal server error (500).
New or Affected Resource(s)/Data Source(s)
azurerm_recovery_services_vault_replication_alert
Potential Terraform Configuration
resource "azurerm_recovery_services_vault_replication_alert" "replication_alert" {
name = "defaultAlertSetting" #Name has to be "defaultAlertSetting" custom names are not yet supported
recovery_vault_id = module.asr_recovery_vault.replication_recovery_vault_id
custom_email_addresses = [
"test@test.com", "test2@test.ch"
]
locale = "en-US"
send_to_owners = false #Seems to be a Enum only DoNotSend/Send are possible
}
Is there an existing issue for this?
Community Note
Description
Azure Seite Recovery Vault provides the possibility to add mail responders for replication alerts. It seems to be a sub resource of
Microsoft.RecoveryServices
and the resource will be created implicitly (empty) on creation time of the recovery vault itself. For this reason only HTTP PUT operations are supported on ARM Template site. HTTP DELETE or HTTP POST will result in a internal server error (500).New or Affected Resource(s)/Data Source(s)
azurerm_recovery_services_vault_replication_alert
Potential Terraform Configuration
References
https://learn.microsoft.com/en-us/azure/templates/microsoft.recoveryservices/vaults/replicationalertsettings?pivots=deployment-language-arm-template