You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we will be deprecating go-autorest in the coming year (exact date is still being worked out). It will be replaced by azcore. If you're interested in the LRO-specific bits you can find them here.
Consider switching to azcore for the provider.
The text was updated successfully, but these errors were encountered:
A refactoring that's not supposed to change any behavior. The goals were to
- separate the lower level of Azure request handling from the core
provider logic
- make the huge provider.go file a bit more pliable
- prepare for the migration off of go-autorest which we need to tackle
at some point: #1464
As a boundary between the `provider` module and the new `azure` module I
used the following guideline, which is implemented in this PR:
- `provider` does not depend on github.com/Azure/go-autorest/autorest
(encapsulated by `azure`)
- `azure` does not depend on
github.com/pulumi/pulumi-azure-native/v2/provider/pkg/resources
(resources are decomposed into primitive HTTP request arguments in
`provider`)
As a wart, `provider` still depends on
github.com/Azure/go-autorest/autorest/azure for handling of Azure
environments (global, China, etc.), but that's a lesser concern.
I'm aware the new `azure` module has zero tests so far, but its code
didn't have any before and most of it is very side-effect heavy.
From this comment:
Consider switching to
azcore
for the provider.The text was updated successfully, but these errors were encountered: