Skip to content

Commit 3339593

Browse files
committed
Merge pull request hashicorp#973 from sparkprime/forcenew_disk
Make Google Instance disk attribute all ForceNew. Fix hashicorp#608.
2 parents c081918 + b7f5f49 commit 3339593

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

builtin/providers/google/resource_compute_instance.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ func resourceComputeInstance() *schema.Resource {
5454
"disk": &schema.Schema{
5555
Type: schema.TypeString,
5656
Optional: true,
57+
ForceNew: true,
5758
},
5859

5960
"image": &schema.Schema{
6061
Type: schema.TypeString,
6162
Optional: true,
63+
ForceNew: true,
6264
},
6365

6466
"type": &schema.Schema{
@@ -70,6 +72,7 @@ func resourceComputeInstance() *schema.Resource {
7072
"auto_delete": &schema.Schema{
7173
Type: schema.TypeBool,
7274
Optional: true,
75+
ForceNew: true,
7376
},
7477
},
7578
},

0 commit comments

Comments
 (0)