Skip to content

Commit

Permalink
Replace "Pubsub Subscription Different Project" example with making a…
Browse files Browse the repository at this point in the history
…ll examples cross-project-friendly (#9637) (#1794)

* Fix "Pubsub Subscription Different Project" example

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 reverts that change from PR #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

---------


[upstream:b3ae8dcd7e476f796a8b1ba67ce63cea711be127]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Dec 15, 2023
1 parent d1ee0a2 commit 7c4095c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/hashicorp/hcl/v2 v2.19.1
github.com/hashicorp/terraform-json v0.17.1
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20231214205825-e54d3b452b0c
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20231214235539-0b512e4837e8
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwU
github.com/hashicorp/terraform-plugin-mux v0.8.0 h1:WCTP66mZ+iIaIrCNJnjPEYnVjawTshnDJu12BcXK1EI=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0 h1:wcOKYwPI9IorAJEBLzgclh3xVolO7ZorYd6U1vnok14=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.29.0/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8=
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20231214205825-e54d3b452b0c h1:2zBLGqp6y+oRBWD6/w1AHJI122mnnr7eT0E69SrPd+o=
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20231214205825-e54d3b452b0c/go.mod h1:dx77gcRRy0m78zTwl0a49dtr3czHIqIZGnT9zMEKEJ0=
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20231214235539-0b512e4837e8 h1:BgivkydysQyeLQBR+tkDyanjQh0qvbyrc55EtnYpuxY=
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20231214235539-0b512e4837e8/go.mod h1:dx77gcRRy0m78zTwl0a49dtr3czHIqIZGnT9zMEKEJ0=
github.com/hashicorp/terraform-registry-address v0.2.2 h1:lPQBg403El8PPicg/qONZJDC6YlgCVbWDtNmmZKtBno=
github.com/hashicorp/terraform-registry-address v0.2.2/go.mod h1:LtwNbCihUoUZ3RYriyS2wF/lGPB6gF9ICLRtuDk7hSo=
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=
Expand Down

0 comments on commit 7c4095c

Please sign in to comment.