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 #16521

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

…corp#9463)

[upstream:f8ee9cd7e136e6dedc39257907646731ea98f613]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 377de58 into hashicorp:main Nov 13, 2023
3 checks passed
Copy link

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant