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
With azurerm_automation_software_update_configuration i need to provide tags in my azure_query field. If not provided (which is available through portal --> only a subscription scope), it will
Please vote on this issue by adding a 👍 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
Error: creating Software Update Configuration: (Name "updates" / Automation Account Name "automation-001" / Resource Group "rg-automation"): automation.SoftwareUpdateConfigurationsClient#Create: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="{\"Message\":\"The request is invalid.\",\"ModelState\":{\"softwareUpdateConfiguration.properties.updateConfiguration.targets.azureQueries[0].tagSettings.tags\":[\"The tags field is required.\"]}}"
│
│ with azurerm_automation_software_update_configuration.definition_updates_config,
│ on automation.tf line 46, in resource "azurerm_automation_software_update_configuration""definition_updates_config":
│ 46: resource "azurerm_automation_software_update_configuration""definition_updates_config" {
│
│ creating Software Update Configuration: (Name "updates" / Automation Account Name "automation-001" /
│ Resource Group "rg-automation"): automation.SoftwareUpdateConfigurationsClient#Create: Failure responding
│ to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400
│ Code="BadRequest" Message="{\"Message\":\"The request is│ invalid.\",\"ModelState\":{\"softwareUpdateConfiguration.properties.updateConfiguration.targets.azureQueries[0].tagSettings.tags\":[\"The│ tags field is required.\"]}}"
Expected Behaviour
I would expect that just having the scope to the subscription with nothing else, it would apply, as this can also be configured by the portal.
Actual Behaviour
No response
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Hi @marcvalk-git thanks for your feedback! this looks like a server-side bug/incompatible. I'm creating a PR to work around this and also file an issue to track this.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
With azurerm_automation_software_update_configuration i need to provide tags in my azure_query field. If not provided (which is available through portal --> only a subscription scope), it will
Terraform Version
1.3.5
AzureRM Provider Version
3.33.0
Affected Resource(s)/Data Source(s)
azurerm_automation_software_update_configuration
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
I would expect that just having the scope to the subscription with nothing else, it would apply, as this can also be configured by the portal.
Actual Behaviour
No response
Steps to Reproduce
No response
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: