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

Replace "Pubsub Subscription Different Project" example with making all examples cross-project-friendly #6758

Conversation

modular-magician
Copy link
Collaborator

PR #2342 changed this example from using id to name, which removed the project ID from the topic. However, the point of this example is to show how to set up a cross-project subscription, so the example no longer works.

This change removes that example and uses the id pattern on all the examples, because we don't need a special "cross project" example if the default usage works cross-project. It also expands the topic attribute's description.

Fixes hashicorp/terraform-provider-google#11642.
Fixes hashicorp/terraform-provider-google#6024.

Release Note Template for Downstream PRs (will be copied)


Derived from GoogleCloudPlatform/magic-modules#9637

…ll examples cross-project-friendly (#9637)

* Fix "Pubsub Subscription Different Project" example

PR hashicorp#2342 changed this example from using `id` to `name`, which removed the project ID from the topic. However, the point of this example is to show how to set up a cross-project subscription, so the example no longer works. This change reverts that change from PR hashicorp#2342.

Fixes hashicorp/terraform-provider-google#11642.
Fixes hashicorp/terraform-provider-google#6024.

* Make all examples cross-project-friendly and update topic description

* Fix typo

---------

Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
[upstream:b3ae8dcd7e476f796a8b1ba67ce63cea711be127]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit 0b512e4 into hashicorp:main Dec 14, 2023
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-b3ae8dcd7e476f796a8b1ba67ce63cea711be127 branch November 16, 2024 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant