You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial Apply Debug results summary (failure):
2023-03-22T12:08:44.459-0500 [WARN] Provider "registry.terraform.io/hashicorp/azurerm" produced an unexpected new value for azurerm_data_factory.data_factory during refresh.
- .vsts_configuration: block count changed from 0 to 1
Subsequent Apply Debug results summary (success):
2023-03-22T12:10:53.028-0500 [WARN] Provider "registry.terraform.io/hashicorp/azurerm" produced an unexpected new value for azurerm_data_factory.data_factory during refresh.
- .vsts_configuration: block count changed from 1 to 0
Further apply attempts succeed and do not append this warning to the log file.
StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client does not have authorization to perform action 'Microsoft.DataFactory/locations/configureFactoryRepo/action' over scope ' or the scope is invalid. If access was recently granted, please refresh your credentials."
Steps to Reproduce
terraform apply (succeeds)
manually configure the git repo in the Azure Portal
add tags to the terraform configuration
terraform apply (fails with 403 above)
terraform apply (succeeds with expected behavior))
Is there an existing issue for this?
Community Note
Terraform Version
1.3.7
AzureRM Provider Version
3.48.0
Affected Resource(s)/Data Source(s)
azurerm_data_factory
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
Actual Behaviour
StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client does not have authorization to perform action 'Microsoft.DataFactory/locations/configureFactoryRepo/action' over scope ' or the scope is invalid. If access was recently granted, please refresh your credentials."
Steps to Reproduce
Important Factoids
No response
References
Known issue:
#6484
The attempt to ignore the changes to the vsts configuration is a workaround to this expected 403 error.
The text was updated successfully, but these errors were encountered: