Skip to content

Commit 62b879e

Browse files
authored
Merge pull request #3 from leeleelou/92306
feat(google): upgrade provider version to support 0.14
2 parents 91d2fe0 + 138a740 commit 62b879e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

main.tf

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,14 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google-beta" {
18-
version = ">= 2.0.0"
17+
terraform {
18+
required_version = "~> 0.14.10"
19+
required_providers {
20+
google-beta = {
21+
source = "hashicorp/google-beta"
22+
version = "~> 3.64.0"
23+
}
24+
}
1925
}
2026

2127
###############
@@ -125,7 +131,7 @@ resource "google_compute_instance_template" "default" {
125131
# scheduling must have automatic_restart be false when preemptible is true.
126132
scheduling {
127133
preemptible = var.preemptible
128-
automatic_restart = ! var.preemptible
134+
automatic_restart = !var.preemptible
129135
on_host_maintenance = "MIGRATE"
130136
}
131137

0 commit comments

Comments
 (0)