Open shybbko opened 4 years ago
Thanks for opening this issue. Seems service API doesn't return/take effect for tags. Filed an issue for this problem in swagger (https://github.com/Azure/azure-rest-api-specs/issues/9251).
Is this actually an "upstream-microsoft" issue? Backup Policies do not have tags in the 1st place, thus why do we need a way to add them?
Regards
@tombuildsstuff: a) Your request at https://github.com/Azure/azure-rest-api-specs/issues/9251 was closed with "This is a general question for ARM team. Whenever they start supporting tags for proxy resources, then we can plan to leverage that." b) if one would add tags this would cause an indefinit loop of updating this resource (#8984) c) it is neither possible to add tags in the Azure Portal nor through Azure CLI or API d) I personally doubt many do use tags for these resources in their terraform configuration - see point b
I do understand, that the request to add tags seems to be opened via this issue, but this should not be raised here but at Azure/ARM directly. Instead the PR to remove the tags should be re-introduced - maybe only for the next major version. with a deprecate flag for now.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
At least the following two:
azurerm_backup_policy_vm
azurerm_backup_protected_vm
Terraform Configuration Files
Expected Behavior
Tags are added to the resources.
Actual Behavior
Tags are not being added to the resources, however Terraform reports they are.
Steps to Reproduce
Observed it in my production environment. Replicated in a completely new Resource Group. The scenario would be:
Debug Output
Would be able to provide it if necessary. However since there are some sensitive data inside (which would require sanitisation) and the issue seems easily reproducible, as of now I've decided not to upload the debug output.