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

Move endpoint default handling after TPC universe domain logic #6636

Conversation

modular-magician
Copy link
Collaborator

splits off the default API endpoint half of HandleSDKDefaults func into its own function and calls that new function after TPC universe domain is set. This allows the basepath defaults to use the new domain if set

The API custom/default endpoints are not used between when HandleSDKDefaults was called to after the TPC universe logic, so this reorder should be safe. HandleSDKDefaults is also not called anywhere else outside of the one use.

Release Note Template for Downstream PRs (will be copied)

provider: fixed an issue where universe domains would not overwrite API endpoints

Derived from GoogleCloudPlatform/magic-modules#9463

[upstream:f8ee9cd7e136e6dedc39257907646731ea98f613]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit c7997c2 into hashicorp:main Nov 13, 2023
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-f8ee9cd7e136e6dedc39257907646731ea98f613 branch November 16, 2024 03:50
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.

1 participant