Skip to content

use the new sdk for azure resource group#1511

Merged
james00012 merged 3 commits intomainfrom
new-azure-resource-group
Feb 18, 2025
Merged

use the new sdk for azure resource group#1511
james00012 merged 3 commits intomainfrom
new-azure-resource-group

Conversation

@james00012
Copy link
Copy Markdown
Contributor

Description

Fixes #1501.

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.
  • Make a plan for release of the functionality in this PR. If it delivers value to an end user, you are responsible for ensuring it is released promptly, and correctly. If you are not a maintainer, you are responsible for finding a maintainer to do this for you.

Release Notes (draft)

Added / Removed / Updated [X].

Migration Guide

@james00012 james00012 requested a review from denis256 as a code owner February 8, 2025 00:33
@james00012 james00012 force-pushed the new-azure-resource-group branch from 869082f to 59779d7 Compare February 8, 2025 00:37
@james00012 james00012 self-assigned this Feb 8, 2025
@denis256
Copy link
Copy Markdown
Member

[INFO] Initializing environment for https://github.com/gruntwork-io/pre-commit.
goimports................................................................Failed
- hook id: goimports
- files were modified by this hook

modules/azure/client_factory.go
modules/azure/client_factory.go

@james00012
Copy link
Copy Markdown
Contributor Author

Hi @denis256, PTAL. This should be good for another review. Failure test doesn't seem to be relevant to this PR.

}

func CreateResourceGroupClientV2E(subscriptionID string) (*armresources.ResourceGroupsClient, error) {
clientFactory, err := getArmResourcesClientFactory(subscriptionID)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should be checked for empty subscriptionID?

@james00012 james00012 merged commit 15f245c into main Feb 18, 2025
@james00012 james00012 deleted the new-azure-resource-group branch February 18, 2025 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terratest azure assert fail due to token expiration

2 participants