Skip to content
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

Add state "SUSPENDED" to desired_status field on google_compute_instance #8257

Conversation

modular-magician
Copy link
Collaborator

closes hashicorp/terraform-provider-google#11374

  • Added the field
  • Added tests for it
  • Added doc changes

There is an additional piece of logic that uses Resume instead of Start method when necessary to simplify the UX when using this. So there is no need to add a "RESUMED" state.

Release Note Template for Downstream PRs (will be copied)

compute: add "SUSPENDED" as a possible value to `desired_state` on `google_compute_instance`

Derived from GoogleCloudPlatform/magic-modules#11672

…stance` (#11672)

[upstream:771215e15ca75b9453194c4b7bb15551710b6a4d]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit e806c31 into hashicorp:main Sep 23, 2024
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-771215e15ca75b9453194c4b7bb15551710b6a4d branch November 16, 2024 03:37
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.

Support GCE suspend and resume
1 participant