Skip to content
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

fix: disable region check for Azure CloudEnvironment #69

Merged
merged 4 commits into from
Dec 7, 2024

Conversation

jiangpengcheng
Copy link
Member

@jiangpengcheng jiangpengcheng commented Nov 5, 2024

fix #66

Azure needs to use ResourceGroup name in the region parameter, so cannot validate it

@jiangpengcheng jiangpengcheng requested a review from a team as a code owner November 5, 2024 02:11
@maxsxu maxsxu requested a review from a team as a code owner December 3, 2024 08:51
@@ -90,7 +90,7 @@ func resourceCloudEnvironment() *schema.Resource {
Type: schema.TypeString,
Required: true,
Description: descriptions["region"],
ValidateFunc: validateRegion,
ValidateFunc: validateNotBlank,
Copy link
Member

Choose a reason for hiding this comment

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

But it's useful for AWS and GCP, can we create separate rule for Azure?

Copy link
Member

Choose a reason for hiding this comment

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

@maxsxu maxsxu changed the title Disable region check for CloudEnvironment fix: disable region check for Azure CloudEnvironment Dec 7, 2024
@maxsxu maxsxu merged commit 5d5dfcb into main Dec 7, 2024
1 check passed
@maxsxu maxsxu deleted the do_not_check_region_for_azure_cloud_environment branch December 7, 2024 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants