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 <[email protected]>
@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
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