Open daisy-timms-xlab opened 2 years ago
0.14.5
3.25.0
azurerm_automation_software_update_configuration
resource "azurerm_automation_software_update_configuration" "example" { name = "example" automation_account_id = azurerm_automation_account.test.id operating_system = "Linux" windows { classification_included = "Critical, Security" reboot = "IfRequired" } duration = "PT2H2M2S" }
| Error: expected linux.0.classification_included to be one of [Critical Other Security Unclassified], got Critical,Security
The plan should succeed with any combination of the possible classification values
The resource validation will only accept a single classification.
terraform plan
No response
https://github.com/hashicorp/terraform-provider-azurerm/issues/18537
This problem used to exist for windows as well but the inclusion of "classifications_included" into the "windows" block has resolved this problem
When can the linux block see the same love?
Is there an existing issue for this?
Community Note
Terraform Version
0.14.5
AzureRM Provider Version
3.25.0
Affected Resource(s)/Data Source(s)
azurerm_automation_software_update_configuration
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The plan should succeed with any combination of the possible classification values
Actual Behaviour
The resource validation will only accept a single classification.
Steps to Reproduce
terraform plan
Important Factoids
No response
References
https://github.com/hashicorp/terraform-provider-azurerm/issues/18537