mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 10:41:07 +00:00
Fix deprecation warnings for automatic_restart and on_host_maintenance parameters (#9909)
Fix Warnings: ``` * google_compute_instance_template.nat: "automatic_restart": [DEPRECATED] Please use `scheduling.automatic_restart` instead * google_compute_instance_template.nat: "on_host_maintenance": [DEPRECATED] Please use `scheduling.on_host_maintenance` instead ```
This commit is contained in:
parent
ab9a002e09
commit
824dbd3a18
@ -27,8 +27,11 @@ resource "google_compute_instance_template" "foobar" {
|
||||
instance_description = "description assigned to instances"
|
||||
machine_type = "n1-standard-1"
|
||||
can_ip_forward = false
|
||||
automatic_restart = true
|
||||
on_host_maintenance = "MIGRATE"
|
||||
|
||||
scheduling {
|
||||
automatic_restart = true
|
||||
on_host_maintenance = "MIGRATE"
|
||||
}
|
||||
|
||||
// Create a new boot disk from an image
|
||||
disk {
|
||||
|
Loading…
Reference in New Issue
Block a user