@@ -203,6 +203,7 @@ func TestCoreInstanceResource_basic(t *testing.T) {
203203 resource .TestCheckResourceAttrSet (resourceName , "id" ),
204204 resource .TestCheckResourceAttrSet (resourceName , "image" ),
205205 resource .TestCheckResourceAttr (resourceName , "is_pv_encryption_in_transit_enabled" , "true" ),
206+ resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "true" ),
206207 resource .TestCheckResourceAttrSet (resourceName , "region" ),
207208 resource .TestCheckResourceAttr (resourceName , "shape" , "VM.Standard2.1" ),
208209 resource .TestCheckResourceAttrSet (resourceName , "state" ),
@@ -250,7 +251,7 @@ func TestCoreInstanceResource_basic(t *testing.T) {
250251 resource .TestCheckResourceAttr (resourceName , "launch_options.0.boot_volume_type" , "ISCSI" ),
251252 resource .TestCheckResourceAttr (resourceName , "launch_options.0.firmware" , "UEFI_64" ),
252253 resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_consistent_volume_naming_enabled" , "true" ),
253- resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "true " ),
254+ resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "false " ),
254255 resource .TestCheckResourceAttr (resourceName , "launch_options.0.network_type" , "PARAVIRTUALIZED" ),
255256 resource .TestCheckResourceAttr (resourceName , "launch_options.0.remote_data_volume_type" , "PARAVIRTUALIZED" ),
256257 resource .TestCheckResourceAttr (resourceName , "metadata.%" , "1" ),
@@ -312,7 +313,7 @@ func TestCoreInstanceResource_basic(t *testing.T) {
312313 resource .TestCheckResourceAttr (resourceName , "launch_options.0.boot_volume_type" , "ISCSI" ),
313314 resource .TestCheckResourceAttr (resourceName , "launch_options.0.firmware" , "UEFI_64" ),
314315 resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_consistent_volume_naming_enabled" , "true" ),
315- resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "true " ),
316+ resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "false " ),
316317 resource .TestCheckResourceAttr (resourceName , "launch_options.0.network_type" , "PARAVIRTUALIZED" ),
317318 resource .TestCheckResourceAttr (resourceName , "launch_options.0.remote_data_volume_type" , "PARAVIRTUALIZED" ),
318319 resource .TestCheckResourceAttr (resourceName , "metadata.%" , "1" ),
@@ -370,7 +371,7 @@ func TestCoreInstanceResource_basic(t *testing.T) {
370371 resource .TestCheckResourceAttr (resourceName , "launch_options.0.boot_volume_type" , "ISCSI" ),
371372 resource .TestCheckResourceAttr (resourceName , "launch_options.0.firmware" , "UEFI_64" ),
372373 resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_consistent_volume_naming_enabled" , "true" ),
373- resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "true " ),
374+ resource .TestCheckResourceAttr (resourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "false " ),
374375 resource .TestCheckResourceAttr (resourceName , "launch_options.0.network_type" , "PARAVIRTUALIZED" ),
375376 resource .TestCheckResourceAttr (resourceName , "launch_options.0.remote_data_volume_type" , "PARAVIRTUALIZED" ),
376377 resource .TestCheckResourceAttr (resourceName , "metadata.%" , "2" ),
@@ -424,7 +425,7 @@ func TestCoreInstanceResource_basic(t *testing.T) {
424425 resource .TestCheckResourceAttr (datasourceName , "instances.0.launch_options.0.boot_volume_type" , "ISCSI" ),
425426 resource .TestCheckResourceAttr (datasourceName , "instances.0.launch_options.0.firmware" , "UEFI_64" ),
426427 resource .TestCheckResourceAttr (datasourceName , "instances.0.launch_options.0.is_consistent_volume_naming_enabled" , "true" ),
427- resource .TestCheckResourceAttr (datasourceName , "instances.0.launch_options.0.is_pv_encryption_in_transit_enabled" , "true " ),
428+ resource .TestCheckResourceAttr (datasourceName , "instances.0.launch_options.0.is_pv_encryption_in_transit_enabled" , "false " ),
428429 resource .TestCheckResourceAttr (datasourceName , "instances.0.launch_options.0.network_type" , "PARAVIRTUALIZED" ),
429430 resource .TestCheckResourceAttr (datasourceName , "instances.0.launch_options.0.remote_data_volume_type" , "PARAVIRTUALIZED" ),
430431 resource .TestCheckResourceAttr (datasourceName , "instances.0.metadata.%" , "2" ),
@@ -463,7 +464,7 @@ func TestCoreInstanceResource_basic(t *testing.T) {
463464 resource .TestCheckResourceAttr (singularDatasourceName , "launch_options.0.boot_volume_type" , "ISCSI" ),
464465 resource .TestCheckResourceAttr (singularDatasourceName , "launch_options.0.firmware" , "UEFI_64" ),
465466 resource .TestCheckResourceAttr (singularDatasourceName , "launch_options.0.is_consistent_volume_naming_enabled" , "true" ),
466- resource .TestCheckResourceAttr (singularDatasourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "true " ),
467+ resource .TestCheckResourceAttr (singularDatasourceName , "launch_options.0.is_pv_encryption_in_transit_enabled" , "false " ),
467468 resource .TestCheckResourceAttr (singularDatasourceName , "launch_options.0.network_type" , "PARAVIRTUALIZED" ),
468469 resource .TestCheckResourceAttr (singularDatasourceName , "launch_options.0.remote_data_volume_type" , "PARAVIRTUALIZED" ),
469470 resource .TestCheckResourceAttr (singularDatasourceName , "metadata.%" , "2" ),
0 commit comments