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_instance_template resource supports adding a resource_policy, but it's not exposed as a variable in this module. I would like to set a policy that the instance is restarted weekly. Please add something like this to variables.tf so we can set resource policies.
In addition to the use case noted above, resource policies can also be used to specify "placement" in Google Cloud. In large scale HPC workloads, the placement policy can specify the maximum network "distance" allowed between VMs to minimize network latency of workloads that are coupled across VMs.
TL;DR
The
google_compute_instance_template
resource supports adding aresource_policy
, but it's not exposed as a variable in this module. I would like to set a policy that the instance is restarted weekly. Please add something like this tovariables.tf
so we can set resource policies.Terraform Resources
google_compute_instance_template.resource_policies
google_compute_resource_policy
Detailed design
Additional information
No response
The text was updated successfully, but these errors were encountered: