Skip to content

Add missing field to disks and support InstantSnapshot #3513

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

Conversation

modular-magician
Copy link
Collaborator

closes hashicorp/terraform-provider-google#16426

Added some missing fields to google_compute_disk. One of them is sourceInstantSnapshot so i've added the resource to create instant snapshots into terraform.

One thing i'm having trouble testing is sourceStorageObject. It requires a Bucket with an image stored as *.tar.gz. Only way i've found of recreating this in an acceptance test is using gcloud image export into the bucket but don't know if we want something like that in our tests. Please LMK!

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

compute: added fields `architecture`, `source_instant_snapshot`, `source_storage_object`, `resource_manager_tags`  to `google_compute_disk`.
`google_compute_instant_snapshot`

Derived from GoogleCloudPlatform/magic-modules#12946

[upstream:f3ff113ecc22a77cf3678c80cde0a46ecbfa9aa3]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner February 25, 2025 17:02
@modular-magician modular-magician requested review from ScottSuarez and removed request for a team February 25, 2025 17:02
@modular-magician modular-magician merged commit b0c5fa7 into GoogleCloudPlatform:main Feb 25, 2025
1 check passed
kotatut pushed a commit to kotatut/terraform-google-conversion-antonkot that referenced this pull request Apr 18, 2025
…leCloudPlatform#3513)

[upstream:f3ff113ecc22a77cf3678c80cde0a46ecbfa9aa3]

Signed-off-by: Modular Magician <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Support for "Architecture" attribute for "google_compute_disk"
1 participant