-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 GCP PubSub Subscription filter #6727
Add support for GCP PubSub Subscription filter #6727
Comments
Looking to contribute to this issue however getting a bit confused by the source code. I can see that the resource is generated by magic modules as it has the "AUTO GENERATED CODE" warning in the source file. However, following the contribution guide and the link to this repository I'm unable to find the corresponding code for the pubsub subscription. |
@tim-codes the third_party folder only has the non-generated resources. Since pubsub is generated, its definition lives at https://github.com/GoogleCloudPlatform/magic-modules/tree/master/products/pubsub (api.yaml and terraform.yaml). I'd also recommend reading through the README/codelab to get a sense of how to do things in MM, but happy to have you help out with this! Thanks! |
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Tim O'Connell <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Tim O'Connell <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Tim O'Connell <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]>
* Add new field filter to pubsub. Fixes: #6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Tim O'Connell <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]>
* Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Tim O'Connell <[email protected]>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
* fix typo (#3369) (#413) Signed-off-by: Modular Magician <[email protected]> * Fix check for serial port disabled (#3695) (#415) * Fix check for serial port disabled * fix check for block-project-ssh-keys Signed-off-by: Modular Magician <[email protected]> * Add mode enum and scale down controls for Compute AutoScaler (#3693) (#416) * Add mode enum and scale down controls for Compute AutoScaler * Add mode enum for Compute AutoScaler in the correct API block * Add defaults for mode and default_from_api for scale down controls * Add tests for scale_down_controls and set at_least_one_of for it Signed-off-by: Modular Magician <[email protected]> * added support for shielded nodes in container (#3639) (#417) Signed-off-by: Modular Magician <[email protected]> * fix memcache_parameters (#3733) (#418) * change memcacheParameters to parameters, add parameters to basic test * make switching memcacheParameters to parameters not a breaking-change Signed-off-by: Modular Magician <[email protected]> * add tiers and nfs_export_options (#3766) (#419) * add tiers and nfs_export_options * update docs, make full test beta Signed-off-by: Modular Magician <[email protected]> * Add skip enum value generation (#3767) (#420) * Add skip enum value generation * Fix default * Fix reader * Fix line spacing on enum values Signed-off-by: Modular Magician <[email protected]> * Backend service support for internet NEG backend (#3782) (#421) * Add ability to set global network endpoint group as backend for backend service. Make health_checks optional * PR fixes * Add encoder to remove max_utilization when neg backend * Check for global NEG in group to remove max_utilization * Add another nil check * Spacing * Docs fix Signed-off-by: Modular Magician <[email protected]> * add firewall logging controls (#3780) (#422) * add firewall logging controls * make backward compatible * check enable_logging in expand * update docs * update expand logic to fix failing test Signed-off-by: Modular Magician <[email protected]> * Fix colon in doc notes (#3796) (#423) Signed-off-by: Modular Magician <[email protected]> * Add persistence_iam_identity to Redis Instance (#3805) (#424) Signed-off-by: Modular Magician <[email protected]> * Org Security Policies (Hierarchical Firewalls) (#3626) (#425) Co-authored-by: Dana Hoffman <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Dana Hoffman <[email protected]> * Adding Missing Cloud Build Attributes (#3627) (#426) Signed-off-by: Modular Magician <[email protected]> * Add additional fields to Memcached Instance (#3821) (#427) Signed-off-by: Modular Magician <[email protected]> * Convert inboundServices to an enum. (#3820) (#428) Signed-off-by: Modular Magician <[email protected]> * add source_image and source_snapshot to google_compute_image (#3799) (#429) * add source_image to google_compute_image * add source_snapshot to google_compute_image * PR comment changes Signed-off-by: Modular Magician <[email protected]> * Collection fixes for release (#3831) (#430) Signed-off-by: Modular Magician <[email protected]> * Add new field filter to pubsub. (#3759) (#431) * Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Tim O'Connell <[email protected]> * Add archive class to gcs (#3867) (#432) Signed-off-by: Modular Magician <[email protected]> * Add support for gRPC healthchecks (#3825) (#433) Signed-off-by: Modular Magician <[email protected]> * Add enableMessageOrdering to Pub/Sub Subscription (#3872) (#434) Add enableMessageOrdering to Pub/Sub Subscription Signed-off-by: Modular Magician <[email protected]> * Specify possible values for arg only once (#3874) (#435) Signed-off-by: ialidzhikov <[email protected]> Signed-off-by: Modular Magician <[email protected]> * use {product}.googleapis.com endpoints (#3755) (#436) * use {product}.googleapis.com endpoints * use actual correct urls * fix zone data source test * fix network peering tests * possibly fix deleting default network Signed-off-by: Modular Magician <[email protected]> * Add vpcAccessConnector property on google_app_engine_standard_app_version terraform resource (#3789) (#437) * add vpc access connector property in standard app version resource * add Gemfile.lock and .ruby-version * modify .ruby-version * Update Gemfile.lock * Update Gemfile.lock * Update Gemfile.lock * add test for vpcAccessConnector field * change casing of test field * add comma * format app engine connector test * make vpc_access_connector an object * add vpc access connector resource to test * pass connector id output property to app engine resource instead of hardcoding connector id Signed-off-by: Modular Magician <[email protected]> * retrypolicy attribute added (#3843) (#438) * retrypolicy attribute added * test case updated Signed-off-by: Modular Magician <[email protected]> * add discovery endpoint (#3891) (#439) Signed-off-by: Modular Magician <[email protected]> * Advanced logging config options in google_compute_subnetwork (#3603) (#440) Co-authored-by: Dana Hoffman <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Dana Hoffman <[email protected]> * Add Erase Windows VSS support to compute disk (#3898) (#441) Co-authored-by: Cameron Thornton <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Cameron Thornton <[email protected]> * Add Snapshot location to compute snapshot (#3896) (#442) * added storage locations * add storage locations to field * tweak cmek logic * fix the decoder logic and cleanup whitespaces * remove duplicate entry Signed-off-by: Modular Magician <[email protected]> * Added missing 'all' option for protocol firewall rule (#3962) (#443) Signed-off-by: Modular Magician <[email protected]> * Revert `eraseWindowsVssSignature` field and test (#3959) (#444) Signed-off-by: Modular Magician <[email protected]> * Added support GRPC for google_compute_(region)_backend_service.protocol (#3973) (#445) Co-authored-by: Edward Sun <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Edward Sun <[email protected]> * Added properties of options & artifacts on google_cloudbuild_trigger (#3944) (#446) * added options & artifacts to cloudbuild trigger * updated with minor changes and added more options in test * a test adding update behavior for multiple optional fields Co-authored-by: Edward Sun <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Edward Sun <[email protected]> * products/container: Add datapath provider field (#3956) (#447) Signed-off-by: Modular Magician <[email protected]> * Add SEV_CAPABLE option to google_compute_image (#3994) (#448) Signed-off-by: Modular Magician <[email protected]> * Add network peerings for inspec (#4002) (#449) Signed-off-by: Modular Magician <[email protected]> * Update docs for pubsub targets in cloud scheduler (#4008) (#450) Signed-off-by: Modular Magician <[email protected]> Co-authored-by: The Magician <[email protected]> Co-authored-by: Dana Hoffman <[email protected]> Co-authored-by: Tim O'Connell <[email protected]> Co-authored-by: Cameron Thornton <[email protected]> Co-authored-by: Edward Sun <[email protected]> Co-authored-by: Stuart Paterson <[email protected]>
* Make `iap` field computed (#3814) (#272) Signed-off-by: Modular Magician <[email protected]> * add source_image and source_snapshot to google_compute_image (#3799) (#273) * add source_image to google_compute_image * add source_snapshot to google_compute_image * PR comment changes Signed-off-by: Modular Magician <[email protected]> * Collection fixes for release (#3831) (#274) Signed-off-by: Modular Magician <[email protected]> * Add new field filter to pubsub. (#3759) (#275) * Add new field filter to pubsub. Fixes: hashicorp/terraform-provider-google#6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Tim O'Connell <[email protected]> * Add archive class to gcs (#3867) (#276) Signed-off-by: Modular Magician <[email protected]> * Add support for gRPC healthchecks (#3825) (#277) Signed-off-by: Modular Magician <[email protected]> * Add enableMessageOrdering to Pub/Sub Subscription (#3872) (#278) Add enableMessageOrdering to Pub/Sub Subscription Signed-off-by: Modular Magician <[email protected]> * use {product}.googleapis.com endpoints (#3755) (#279) * use {product}.googleapis.com endpoints * use actual correct urls * fix zone data source test * fix network peering tests * possibly fix deleting default network Signed-off-by: Modular Magician <[email protected]> * Removed instances where input and output are both true (#3890) (#280) * [provider-yaml] - Removed instances where input and output are both true * modified to only supply output. Following pattern from bigquerydatatransfer Co-authored-by: Scott Suarez <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Scott Suarez <[email protected]> * retrypolicy attribute added (#3843) (#281) * retrypolicy attribute added * test case updated Signed-off-by: Modular Magician <[email protected]> * Advanced logging config options in google_compute_subnetwork (#3603) (#282) Co-authored-by: Dana Hoffman <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Dana Hoffman <[email protected]> * Add Erase Windows VSS support to compute disk (#3898) (#283) Co-authored-by: Cameron Thornton <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Cameron Thornton <[email protected]> * Add Snapshot location to compute snapshot (#3896) (#286) * added storage locations * add storage locations to field * tweak cmek logic * fix the decoder logic and cleanup whitespaces * remove duplicate entry Signed-off-by: Modular Magician <[email protected]> * Added missing 'all' option for protocol firewall rule (#3962) (#287) Signed-off-by: Modular Magician <[email protected]> * Added support GRPC for google_compute_(region)_backend_service.protocol (#3973) (#289) Co-authored-by: Edward Sun <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Edward Sun <[email protected]> * Add schema update support to spanner db 2082 (#3947) (#291) * eoncders and customdiff added for spanner DB ddl update * config update test case added * customdiff modified to handle out-of-index issue * new lines added * indent fixed * indent fixed for tests * test added for ddl update condition * mock added Terraformresourcediff, unit tests added * test fixed * more unit tests added * tests fixed * PR comments implemented * unit tests converted to table driven tests * ImportStateVerifyIgnore flag added to tests * syntax corrected in test Signed-off-by: Modular Magician <[email protected]> * Added properties of options & artifacts on google_cloudbuild_trigger (#3944) (#292) * added options & artifacts to cloudbuild trigger * updated with minor changes and added more options in test * a test adding update behavior for multiple optional fields Co-authored-by: Edward Sun <[email protected]> Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Edward Sun <[email protected]> * Enable TPUs to use Shared VPC (#3939) (#293) * add support for shared vpc * make cidr_block computable * add diffsuppression * tweak diffsupression to ignore when network has a change * rework diffsupress * add customizediff * switch the diff checks Signed-off-by: Modular Magician <[email protected]> * Add SEV_CAPABLE option to google_compute_image (#3994) (#294) Signed-off-by: Modular Magician <[email protected]> * Update docs for pubsub targets in cloud scheduler (#4008) (#295) Signed-off-by: Modular Magician <[email protected]> * Make RegionBackendService health checks optional (#4053) (#297) Signed-off-by: Modular Magician <[email protected]> * Update terminology for IAM roles (#4056) (#299) Roles like "Owner" and "Editor" are now called "basic roles": https://cloud.google.com/iam/docs/understand Signed-off-by: Modular Magician <[email protected]> * Add source snapshot to ansible (#4060) Signed-off-by: Modular Magician <[email protected]> Co-authored-by: Tim O'Connell <[email protected]> Co-authored-by: Scott Suarez <[email protected]> Co-authored-by: Dana Hoffman <[email protected]> Co-authored-by: Cameron Thornton <[email protected]> Co-authored-by: Edward Sun <[email protected]>
Community Note
Description
In GCP PubSub there is new feature filters
it will be very helpful if you support it, since it is useful feature in PubSub.
I cab't create the PubSub in TF and then add the filter since the filter can't be set after subscription is created.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: