Add automation new version of 2019-06-01#1340
Conversation
automation new version of 2019-06-01automation new version of 2019-06-01
jackofallops
left a comment
There was a problem hiding this comment.
Hi @wuxu92
One question below, can you detail why we need this older API?
Thanks!
| service "automation" { | ||
| name = "Automation" | ||
| available = ["2021-06-22"] | ||
| available = ["2019-06-01", "2021-06-22"] |
There was a problem hiding this comment.
This is older than anything currently in use by the provider. What are we getting from this older version of the API?
There was a problem hiding this comment.
hi, we currently use the 2020-01-13-preview of Azure/azure-sdk-for-go mainly and part of the resources use 2021-06-22 of Hashcorp/go-azure-sdk.
Version 2021-06-22 only contains 4 of 27 swaggers that exist in version 2019-06-01 so we need the old version's API.
and there are some updates that only exist in the 2019-06-01 version(e.g Azure/azure-rest-api-specs#19367 which is needed for the issue hashicorp/terraform-provider-azurerm#1602). and by git log, the version 2019-06-01 stable version should be newer than 2020-01-13-preview.
Add a new version of automation resources.
API reference: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01