hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.29k stars 1.72k forks source link

Compute instance data encryption option is missing in terraform #18050

Open mustafa786ataul opened 4 months ago

mustafa786ataul commented 4 months ago

Community Note

Description

When creating an instance from GCP console there is an option under create instance -> Advanced options -> Management -> Data encryption using Google-managed encryption key or CMEK, image

this option is not available when we are trying to create an instance using terraform.

When creating using terraform this should not be empty, it should contain CMEK ID and name, right now it is blank image

New or Affected Resource(s)

Potential Terraform Configuration

References

No response

b/340252115

mustafa786ataul commented 4 months ago

any update??

SarahFrench commented 4 months ago

Note from triage: This issue corresponds to adding support for the instanceEncryptionKey field in the API (and all subfields) to the google_compute_instance resource.

mustafa786ataul commented 3 months ago

how much time will it take to get resolution?

SarahFrench commented 3 months ago

I can't speak for the service team, who this issue has been forwarded to. If you'd like to open a PR to add the new field we have a contribution guide here and this section describes how to add new fields to resources.