GoogleCloudPlatform / k8s-config-connector

GCP Config Connector, a Kubernetes add-on for managing GCP resources
https://cloud.google.com/config-connector/docs/overview
Apache License 2.0
896 stars 230 forks source link

Add support for Pub/Sub schema evolution #798

Open irfanhabib opened 1 year ago

irfanhabib commented 1 year ago

Checklist

Describe the feature or resource

GCP recently launched Cloud Pub/Sub schema evolution. This feature currently is not supported in config-connector, as schema revisions cannot be specified when creating a topic.

Currently only a schemaRef can be specified as documented here. To support this feature we additionally need to set the firstRevisionId and lastRevisionId (as documented here

Are there plans to add support for this?

Additional information

https://cloud.google.com/config-connector/docs/reference/resource-docs/pubsub/pubsubtopic#schema

Importance

This is currently a blocker for us as we use config-connector to manage our GCP resources.

diviner524 commented 1 year ago

@irfanhabib This Config Connector resource is implemented based on Terraform Provider. This means the support for firstRevisionId and lastRevisionId will eventually be reflected in Config Connector after these two fields are supported in Terraform Provider.

https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/pubsub_topic

If this is a blocker for you please consider submitting a GCP support case so we can work with internal partner teams and expedite the process.