Skip to content

compute: Add scheduling.termination_time field to compute_instance resources #3554

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

This patch adds the scheduling.termination_time field to the following resources:

  • google_compute_instance
  • google_compute_instance_from_machine_image (beta)
  • google_compute_instance_from_template
  • google_compute_instance_template
  • google_compute_region_instance_template

It also adds a helper function hasTerminationTimeChanged, which allows to stop the instance while updating the termination_time.

compute: added `scheduling.termination_time` field to `google_compute_instance` resource
compute: added `scheduling.termination_time` field to `google_compute_instance_from_machine_image` resource
compute: added `scheduling.termination_time` field to `google_compute_instance_from_template` resource
compute: added `scheduling.termination_time` field to `google_compute_instance_template` resource
compute: added `scheduling.termination_time` field to `google_compute_region_instance_template` resource

Derived from GoogleCloudPlatform/magic-modules#12791

…resources (#12791)

Signed-off-by: Norbert Kamiński <[email protected]>

[upstream:fc3eeaab049d020371a96176262f2495ee9f7121]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner March 5, 2025 20:18
@modular-magician modular-magician requested review from ScottSuarez and removed request for a team March 5, 2025 20:18
@modular-magician modular-magician merged commit 85e23b2 into GoogleCloudPlatform:main Mar 5, 2025
5 checks passed
kotatut pushed a commit to kotatut/terraform-google-conversion-antonkot that referenced this pull request Apr 18, 2025
…resources (#12791) (GoogleCloudPlatform#3554)

[upstream:fc3eeaab049d020371a96176262f2495ee9f7121]

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.

1 participant