-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading to v11 of the Azure SDK for Go #367
Conversation
Taking a look into this - there's enough breaking changes that this is going to take some time - as such I'm going to park this PR for the moment. |
37c49e6
to
dee2a00
Compare
I'm just kicking off the full test suite now - but I need to do a ton of checking of the state migrations next |
8db584c
to
d8aa8ce
Compare
It appears the Traffic Manager SDK is broken as the API version used isn't rolled out in Azure at the moment - opened an issue on the SDK repository: Azure/azure-sdk-for-go#794 |
Container Registry's broken too: Azure/azure-sdk-for-go#795 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a question about a comment and then the following code snippet. Other than that, this looks really good. Nice job Tom
return err | ||
} | ||
|
||
if namespace.Sku.Name != servicebus.Premium { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be reading this wrong but I just want to confirm based on your comment that premium has max size * 16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has been around for a while - so it hasn't changed AFAIK
`azurerm_route_table.routes` is no longer Computed (and we should deprecate one in favour of the other)
🎉 great job @tombuildsstuff!!! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Upgrading to v11 of the Azure SDK for Go
v11.0.0-beta
of the Azure SDKBasic
SKU ->Classic
certificate_permissions
All -> every optionkey_permissions
All -> every optionsecret_permissions
All -> every optioncapacity
if not apremium
skuTraffic Manager API version used in the SDK isn't availablefixedContainer Registry API version used in the SDK isn't availablefixedChanges and Deprecation Notices:
azurerm_automation_account
- the SKUFree
has been replaced withBasic
.azurerm_container_registry
- Azure has updated the SKU fromBasic
toClassic
, with newBasic
,Standard
andPremium
SKU's introduced.azurerm_container_registry
- thestorage_account
block is nowstorage_account_id
and is only required forClassic
SKU'sazurerm_key_vault
-certificate_permissions
,key_permissions
andsecret_permissions
have all had theAll
option removed by Azure. Each permission now needs to be specified manually.azurerm_servicebus_namespace
- Thecapacity
field can only be set forPremium
SKU'sazurerm_servicebus_queue
- Theenable_batched_operations
andsupport_ordering
fields have been deprecated by Azure.azurerm_servicebus_subscription
- Thedead_lettering_on_filter_evaluation_exceptions
has been removed by Azure.azurerm_servicebus_topic
- Theenable_filtering_messages_before_publishing
field has been removed by Azure.