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
This reverts commit 28fc8cef7abdb8e7e13ae8f640407be797904b51.
Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
@@ -958,13 +937,6 @@ be from 0 to 999,999,999 inclusive.`,
958
937
},
959
938
},
960
939
},
961
-
"stopping_with_local_ssd_discard": {
962
-
Type: schema.TypeBool,
963
-
Optional: true,
964
-
Default: false,
965
-
Description: `Whether allow data on the local ssd to be discarded. The instance can not be stopped when a local ssd being attached to the instance.
966
-
True to allow data to be discarded. Default is False. Setting true to allow the local ssd to be recreated. https://cloud.google.com/compute/docs/disks/local-ssd`,
967
-
},
968
940
},
969
941
CustomizeDiff: customdiff.All(
970
942
customdiff.If(
@@ -1252,13 +1224,6 @@ func resourceComputeInstanceRead(d *schema.ResourceData, meta interface{}) error
1252
1224
delete(md, "startup-script")
1253
1225
}
1254
1226
1255
-
// Explicitly set virtual fields to default values if unset
ExpectError: regexp.MustCompile("Error: The instance has local SSD. Stopping insatnce will discard all data on the local SSD. Setting stopping_with_local_ssd_discard to true to allow the data on the local SSD to be discarded"),
ExpectError: regexp.MustCompile("Error: The instance has local SSD. Stopping insatnce will discard all data on the local SSD. Setting stopping_with_local_ssd_discard to true to allow the data on the local SSD to be discarded"),
ExpectError: regexp.MustCompile("Error: The instance has local SSD. Stopping insatnce will discard all data on the local SSD. Setting stopping_with_local_ssd_discard to true to allow the data on the local SSD to be discarded"),
Copy file name to clipboardExpand all lines: website/docs/r/compute_instance.html.markdown
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,9 +186,6 @@ is desired, you will need to modify your state file manually using
186
186
in `guest-os-features`, and `network_interface.0.nic-type` must be `GVNIC`
187
187
in order for this setting to take effect.
188
188
189
-
*`stopping_with_local_ssd_discard` - (Optional) Whether allow data on the local ssd to be discarded. The instance can not be stopped when a local ssd being attached to the instance.
190
-
True to allow data to be discarded. Default is False. Setting true to allow the local ssd to be recreated. https://cloud.google.com/compute/docs/disks/local-ssd
0 commit comments