terraform-google-modules / terraform-docs-samples

Terraform samples intended for inclusion in cloud.google.com
Apache License 2.0
282 stars 205 forks source link

Support for version selection in Workbench Instances #626

Closed cci-seryildirim closed 2 months ago

cci-seryildirim commented 3 months ago

TL;DR

Hello,

Currently both UI and gcloud allow us the selection of a specific version when provisioning Workbench Instances. However the capability to create a Workbench Instance with a specific version via Terraform seems absent. Attempting to create a version through the metadata configuration results in GCP overriding these parameters, subsequently initiating an instance with the most recent version. This is because the version metadata is designated as a protected key.

Is there an alternative method or workaround to achieve the creation of a Workbench Instance with a specified version using Terraform?

Terraform Resources

https://registry.terraform.io/providers/hashicorp/google/5.22.0/docs/resources/workbench_instance#example-usage---workbench-instance-full

Detailed design

No response

Additional information

https://cloud.google.com/vertex-ai/docs/workbench/instances/manage-metadata#protected

glasnt commented 2 months ago

This repo only shows examples of how to use the Terraform provider. As per the support documentation, feature requests for the provider should be made there. Here's a list of current open issues for workbench that may match your query. https://github.com/hashicorp/terraform-provider-google/issues?q=is%3Aissue+is%3Aopen+workbench+