We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91d2fe0 + 138a740 commit 62b879eCopy full SHA for 62b879e
main.tf
@@ -14,8 +14,14 @@
14
* limitations under the License.
15
*/
16
17
-provider "google-beta" {
18
- version = ">= 2.0.0"
+terraform {
+ required_version = "~> 0.14.10"
19
+ required_providers {
20
+ google-beta = {
21
+ source = "hashicorp/google-beta"
22
+ version = "~> 3.64.0"
23
+ }
24
25
}
26
27
###############
@@ -125,7 +131,7 @@ resource "google_compute_instance_template" "default" {
125
131
# scheduling must have automatic_restart be false when preemptible is true.
126
132
scheduling {
127
133
preemptible = var.preemptible
128
- automatic_restart = ! var.preemptible
134
+ automatic_restart = !var.preemptible
129
135
on_host_maintenance = "MIGRATE"
130
136
137
0 commit comments