-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
backend/azurerm: upgrading the SDK / support for proxies #19414
Conversation
This test currently fails in master:
And also fails in this branch:
The underlying issue is being tracked in #17046 - since this functionality is currently broken in master, I'm going to tackle this in the next PR, since this PR's already quite large. |
9dce791
to
2bf839d
Compare
- updating to v21.3.0 of github.com/Azure/azure-sdk-for-go - updating to v10.15.4 of github.com/Azure/go-autorest - vendoring github.com/hashicorp/go-azure-helpers @ 0.1.1
- refactoring the backend to use a shared client via the new auth package - adding tests covering both Service Principal and Access Key auth - support for authenticating using a proxy - rewriting the backend documentation to include examples of both authentication types
5833415
to
942007f
Compare
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.
Overall LGTM except the log level thingy.
Also this certainly needs review from someone more familiar with Azure than me. |
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.
LGTM @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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This PR upgrades to v21.3.0 of github.com/Azure/azure-sdk-for-go, v10.15.4 of git.luolix.topAzure/go-autorest and vendors github.com/hashicorp/go-azure-helpers @ 0.1.1
This is the first in a couple of PR's to the Backend which allows us to support additional authentication modes for the backend, which will allow us to fix #18425 and #16763.
This PR intentionally doesn't fix the locking issue tracked in #17046 (see more details below) - however it should be possible to fix that once this is merged (since this changeset's already quite big)
Tasks: