You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `google_compute_resource_policy` would be created as a standalone TF resource.
e.g.
resource "google_compute_resource_policy" "weekday_hours_policy" {
name = "weekday-hours-policy"
# rest of config
When creating node_pools, we would pass a resource_policy for all the VMs within.
TL;DR
Attaching
google_compute_resource_policy
to GCEs within a Node Pool would allow us to have a sleeping schedule for all the VMs.Terraform Resources
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_instance.html#resource_policies
Detailed design
When creating node_pools, we would pass a resource_policy for all the VMs within.
e.g.
The text was updated successfully, but these errors were encountered: