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
### Debug Output/Panic Output
```shell
│ Error: creating Software Update Configuration (Subscription: "0f849332-18f0-45f6-abf6-3bcd9058d3eb"
│ Resource Group Name: "host"
│ Automation Account Name: "hostvmupdate"
│ Software Update Configuration Name: "host"): softwareupdateconfiguration.SoftwareUpdateConfigurationClient#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\":[\"Software update configuration should specify Classification or IncludedPackageNameMask for any reboot setting other than 'RebootOnly'.\"]}}"
│
│ with azurerm_automation_software_update_configuration.default,
│ on auto-update-automation.tf line 21, in resource "azurerm_automation_software_update_configuration" "default":
│ 21: resource "azurerm_automation_software_update_configuration" "default" {
│
│ creating Software Update Configuration (Subscription: "0f849332-18f0-45f6-abf6-3bcd9058d3eb"
│ Resource Group Name: "host"
│ Automation Account Name: "hostvmupdate"
│ Software Update Configuration Name: "host"): softwareupdateconfiguration.SoftwareUpdateConfigurationClient#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\":[\"Software update configuration should specify Classification or IncludedPackageNameMask for any reboot setting other than
│ 'RebootOnly'.\"]}}"
Expected Behaviour
azurerm_automation_software_update_configuration.default: Creating...
azurerm_automation_software_update_configuration.default: Creation complete after 1s [id=/subscriptions/0f849332-18f0-45f6-abf6-3bcd9058d3eb/resourceGroups/host/providers/Microsoft.Automation/automationAccounts/hostvmupdate/softwareUpdateConfigurations/host]
Releasing state lock. This may take a few moments...
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Actual Behaviour
See debug output
Steps to Reproduce
terraform apply
Important Factoids
N/A
References
No response
The text was updated successfully, but these errors were encountered:
Hi @DevopsMercenary Thanks for filing this issue. This is a known break that #23564 has fixed it. Could you please have a try with v3.77.0 when it is released? Also, you can use classifications_included, instead of deprecated classification_included, to specify the classification property which should works in the latest 3.76.0 version.
linux {
classifications_included = ["Security"]
reboot = "IfRequired"
}
Is there an existing issue for this?
Community Note
Terraform Version
1.5.7
AzureRM Provider Version
3.76.0
Affected Resource(s)/Data Source(s)
azurerm_automation_software_update_configuration
Terraform Configuration Files
Expected Behaviour
Actual Behaviour
See debug output
Steps to Reproduce
terraform apply
Important Factoids
N/A
References
No response
The text was updated successfully, but these errors were encountered: