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

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 #11642.
Fixes #6024.

Release Note Template for Downstream PRs (will be copied)


Derived from GoogleCloudPlatform/magic-modules#9637

…ll examples cross-project-friendly (hashicorp#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#11642.
Fixes hashicorp#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 4a84afe into hashicorp:main Dec 14, 2023
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 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant