Skip to content

backend/azurerm: Dependency Update and Fixes #28181

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

Merged
merged 9 commits into from
Mar 26, 2021
Merged

Conversation

mbfrahry
Copy link
Member

@mbfrahry mbfrahry commented Mar 23, 2021

Fixes #27809
Fixes #27809
Fixes #27723
Fixes #26702
Fixes #20831

@mbfrahry mbfrahry closed this Mar 23, 2021
@mbfrahry mbfrahry deleted the f/azure-backend-funtime branch March 23, 2021 23:25
@mbfrahry mbfrahry restored the f/azure-backend-funtime branch March 23, 2021 23:26
@mbfrahry mbfrahry reopened this Mar 23, 2021
@mbfrahry mbfrahry marked this pull request as draft March 23, 2021 23:26
@codecov
Copy link

codecov bot commented Mar 25, 2021

Codecov Report

Merging #28181 (13b41d5) into main (77562d9) will decrease coverage by 0.03%.
The diff coverage is 34.37%.

Impacted Files Coverage Δ
backend/remote-state/azure/arm_client.go 5.83% <0.00%> (-0.78%) ⬇️
backend/remote-state/azure/client.go 0.00% <0.00%> (ø)
backend/remote-state/azure/backend.go 95.91% <84.61%> (-0.58%) ⬇️

@mbfrahry mbfrahry marked this pull request as ready for review March 25, 2021 21:16
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a couple of minor comments but this otherwise LGTM 👍

@@ -109,6 +121,8 @@ func buildArmClient(ctx context.Context, config BackendConfig) (*ArmClient, erro
}

func buildArmEnvironment(config BackendConfig) (*azure.Environment, error) {
// TODO: can we remove this?
// https://github.com/hashicorp/terraform/issues/27156
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

outside of this PR since this is already unused, but we should dig into this separately

@@ -11,7 +11,7 @@ description: |-

**Kind: Standard (with state locking)**

Stores the state as a Blob with the given Key within the Blob Container within [the Blob Storage Account](https://docs.microsoft.com/azure/storage/common/storage-introduction). This backend also supports state locking and consistency checking via native capabilities of Azure Blob Storage.
Stores the state as a Blob with the given Key within the Blob Container within [the Blob Storage Account](https://docs.microsoft.com/en-us/azure/storage/common/storage-introduction). This backend also supports state locking and consistency checking via native capabilities of Azure Blob Storage.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we remove this it'll redirect to the users locale:

Suggested change
Stores the state as a Blob with the given Key within the Blob Container within [the Blob Storage Account](https://docs.microsoft.com/en-us/azure/storage/common/storage-introduction). This backend also supports state locking and consistency checking via native capabilities of Azure Blob Storage.
Stores the state as a Blob with the given Key within the Blob Container within [the Blob Storage Account](https://docs.microsoft.com/azure/storage/common/storage-introduction). This backend also supports state locking and consistency checking via native capabilities of Azure Blob Storage.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one breaks the website-test as a link that has permanently moved. I think we'll need to keep it this way

@mbfrahry mbfrahry changed the title Azure Backend: Fixes and Dependencies backend/azurerm: Dependency Update and Fixes Mar 26, 2021
@mbfrahry mbfrahry merged commit 1577901 into main Mar 26, 2021
@mbfrahry mbfrahry deleted the f/azure-backend-funtime branch March 26, 2021 21:07
@hideout
Copy link

hideout commented Apr 15, 2021

nice info.

@ghost
Copy link

ghost commented Apr 26, 2021

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.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants