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

Add support for multiple formats for pubsub refs in source repo #1938

Conversation

modular-magician
Copy link
Collaborator

Supersedes hashicorp/terraform-provider-google#6036

Release Note Template for Downstream PRs (will be copied)

sourcerepo: allowed `google_sourcerepo_repo` `pubsub_configs.topic` to accept short topic names in addition to full references.

Derived from GoogleCloudPlatform/magic-modules#3339

…icorp#3339)

* Add support for multiple formats for pubsub refs in source repo (a TypeMap's key_value).

* Add docs

* Return string

* Handle err, assert type

* Assert more types

* Use empty strings, not nils

* Update overrides/terraform/property_override.rb

* Pull utils function to source_repo_utils, make regex constant

* fmt

Signed-off-by: Modular Magician <magic-modules@google.com>
@ghost ghost added the size/s label Apr 7, 2020
@modular-magician modular-magician merged commit 2f48370 into hashicorp:master Apr 7, 2020
@modular-magician modular-magician deleted the downstream-pr-fd7b937b7caf295be1ecc70665e27615a398e95f branch November 16, 2024 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant