tflint-ruleset-azurerm icon indicating copy to clipboard operation
tflint-ruleset-azurerm copied to clipboard

How to keep the API version up-to-date?

Open wata727 opened this issue 5 years ago • 3 comments

We've heard from some Azure users, will likely need to continuously upgrade their API version, unlike AWS #28 #29

Although the current automatic rule generation can reflect the update within the API version, it cannot reflect the update of the API version itself. We need to set up a mechanism for this update.

wata727 avatar Jun 30 '20 16:06 wata727

The API version of azure-sdk-for-go seems to be hardcoded in terraform-provider-azurerm. First, make sure to review the API version when updating the provider.

wata727 avatar Jul 04 '20 13:07 wata727

Would this result in newer size like Standard_E48s_v3 showing as invalid in azurerm_virtual_machine_invalid_vm_size.md?

mikescar avatar Jul 15 '20 13:07 mikescar

Good question. The other day I got the answer to this question from the Azure team https://github.com/Azure/azure-rest-api-specs/issues/10033#issuecomment-657701452

They say vmSize doesn't seem to be correct in the API spec, so we'll have to consider another way. I'm thinking about it now.

wata727 avatar Jul 15 '20 16:07 wata727