Open thesutex opened 3 years ago
see log from Azure when terraform adds tags
This is a major bug that breaks production ETL processes in ADF workspaces maintained by the CI/CD process.
The azurerm_data_factory resource should not touch the globalParameters properties in ADF workspaces that don't have git configuration enabled, but every apply currently wipes out all globalParameters completely.
Community Note
Terraform (and AzureRM Provider) Version
Terraform 15.1 Azurerm 2.57
Affected Resource(s)
azurerm_data_factory
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
We are creating datafactory with tags (works great), and the dev team is publishing datafactory content using git connection and azdevops pipelines. These pipelines removes the tags unfortunatly, but this is not the issue
On redeploy of terraform it says the tags are removes and adds them
Actual Behaviour
Tags are added fine, BUT it also removes all globalParameters within the azure datafactory. not sure if this is terraform of azure behavior, but it lists the changes in activity log from my account during terraform redeploy of tags
Steps to Reproduce
terraform apply
On subsequent datafactories that are pushed to via azdevops pipelines (which removes tags in arm template deployment)
Important Factoids
References
0000