-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Terraform] autogenerate Pubsub Topics/Subscriptions (+labels) #1088
[Terraform] autogenerate Pubsub Topics/Subscriptions (+labels) #1088
Conversation
6c8958e
to
e8f6e70
Compare
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. They will authorize it to run through our CI pipeline, which will generate downstream PRs. Thanks for your contribution! A human will be with you soon. |
Hello! Thanks so much for submitting this PR. Sorry we didn't notice it. @rileykarson is going to help you out. If you could rebase the PR, we'll run it through our CI system and get this review going + merged as quickly as possible. |
e8f6e70
to
8e6ac1a
Compare
Rebased. |
Thanks! Running the Magician now. At first glance the change seems good, I'll be able to do a full review with downstreams generated. |
Seeing this error, I think that the variable was removed recently so you can likely blow it away:
edit: yep, see https://github.com/GoogleCloudPlatform/magic-modules/pull/1345/files#diff-293147022553799829844cb248360ba3L30 |
8e6ac1a
to
7fa64fd
Compare
Sorry, should be good now. |
Ah, Ansible requires fields to be separately versioned. You'll need to add versions for the field similar to this:
|
7fa64fd
to
8bebf80
Compare
Sorry, missed that. Should be good now. |
8bebf80
to
30d8bce
Compare
I am a robot that works on MagicModules PRs! I built this PR into one or more PRs on other repositories, and when those are closed, this PR will also be merged and closed. |
There we go! Reviewing Terraform now. @rambleraptor @slevenick can you review your downstreams? Edit: ah @rambleraptor beat me to it inside the downstream PR |
Actually, the
How can I force it to update the modified fields inside the subscription object (and |
315f9e2
to
d99ef9b
Compare
I added an |
Yep, an update encoder is the right tool for a case like that 👍 Generating downstreams and making another pass once they're done. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNew Pull RequestsI built this PR into one or more new PRs on other repositories, and when those are closed, this PR will also be merged and closed. |
Looks like a Magician update changed the branch we PR off of, these new downstreams will supersede the old ones. |
Since the original downstreams are still getting updated, I commented on hashicorp/terraform-provider-google-beta#432 again. While adding resource/product specific reference ( My apologies again for the fiddlyness of |
d293c97
to
c264f4e
Compare
I've pushed my changes. If you can regenerate the downstream PRs and give it a new look... |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great work @drebes!
Fiddling with migrations of name
-style resources to MM can be a little trying, so thanks again for your patience in working out how we continue to support the existing behaviour while working within the confines of MM.
Tracked submodules are build/terraform-beta build/terraform build/ansible build/inspec.
c264f4e
to
439280d
Compare
[all]
Adds
labels
to Pubsub Topics & Subscriptions.[terraform]
Autogenerate Pubsub Topics & Subscriptions, including
labels
support. Fixes hashicorp/terraform-provider-google#1500[terraform-beta]
[ansible]
[inspec]