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 service_attachment.target_service validation #20711

Conversation

modular-magician
Copy link
Collaborator

Hello folks.
This PR is to add back the validation of the resource that was removed on this other PR: GoogleCloudPlatform/magic-modules#11107

Buganizer

The resource now accepts ForwardingRules and Gateways so this validation, that used to have, needed to change to accept both kind of resources.

Note: This PR includes a small refactoring on the test

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

compute: add back the validation for `target_service` field on the `google_compute_service_attachment` resource to validade a `ForwardingRule` or `Gateway` URL.

Derived from GoogleCloudPlatform/magic-modules#12571

[upstream:3da69150b3f378d0df0be20ce2dcf9b243445783]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician requested a review from a team as a code owner December 17, 2024 01:26
@modular-magician modular-magician merged commit b739b66 into hashicorp:main Dec 17, 2024
4 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 Jan 16, 2025
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.

1 participant