Destroy/Delete of Automation Job Schedule fail and terraform destroy abort #12923
Labels
sdk/requires-swagger-changes
Changes need to be made in the Swagger specifications to enable this functionality
service/automation
upstream/microsoft/blocking-swagger-issue
This label is applicable when waiting on Microsoft for an issue with the Swagger definition.
Community Note
Terraform (and AzureRM Provider) Version
terraform -v
Terraform v1.0.4 on darwin_amd64
Affected Resource(s)
azurerm_automation_job_schedule
Terraform Configuration Files
ERROR Output
│ Error: Error issuing AzureRM delete request for Automation Job Schedule 'xxxx-xxxx-xxxxxx-xxx-xxxxx': automation.JobScheduleClient#Delete: Failure responding to request: StatusCode=204 -- Original Error: autorest/azure: error response cannot be parsed: "" error: EOF
On the second "terraform destroy" the schedule is already deleted.
Expected Behaviour
Schedule should be deleted on first try and terraform should not abort
The text was updated successfully, but these errors were encountered: