From 6f580ff38664e5b0d0a2dd34020bd9be685b83ad Mon Sep 17 00:00:00 2001 From: Thiery Ouattara Date: Mon, 17 Apr 2023 16:12:55 +0000 Subject: [PATCH] Update integration test --- ...exible_gpu_link_resource_attributes_ok.ref | 15 +- ...flexible_gpus_datasource_attributes_ok.ref | 27 +- .../step1.test_destroy_igw.ref | 282 ++++++++++-------- .../step1.image_datasource_attributes_ok.ref | 15 +- ...e_no-reboot_resource_std_attributes_ok.ref | 15 +- ...unch_permission_resource_attributes_ok.ref | 15 +- .../step1.images_datasource_attributes_ok.ref | 15 +- .../step2.images_datasource_attributes_ok.ref | 63 ++-- ...listener_rule_datasource_attributes_ok.ref | 15 +- ...r_listener_rule_resource_attributes_ok.ref | 15 +- ...r_listener_rule_resource_attributes_ok.ref | 15 +- ...istener_rules_datasource_attributes_ok.ref | 35 ++- ...cer_vm_health_datasource_attributes_ok.ref | 15 +- ...ad_balancer_vms_resource_attributes_ok.ref | 30 +- ...oad_balancer_vms_resource_remove_vm_ok.ref | 30 +- .../step1.nic_datasource_attributes_ok.ref | 15 +- .../step1.nic_link_resource_attributes_ok.ref | 15 +- ....public_ip_link_resource_attributes_ok.ref | 15 +- .../step1.vm_datasource_centos_ok.ref | 90 +++--- .../step2.vm_datasource_centos_ok.ref | 120 +++++--- .../step1.vm_resource_centos_ok.ref | 121 ++++---- ...resource_private_with_multiple_NICs_ok.ref | 15 +- .../step1.vm_resource_with_user_data_ok.ref | 15 +- .../step1.vm_resource_with_user_data_ok_2.ref | 15 +- ..._state_datasource_centos_attributes_ok.ref | 15 +- ...states_datasource_centos_attributes_ok.ref | 30 +- .../step1.vms_datasource_attributes_ok.ref | 75 +++-- .../step2.vms_datasource_attributes_ok.ref | 120 +++++--- ...tep1.volumes_datasource_attributes_ok4.ref | 17 +- ...tep2.volumes_datasource_attributes_ok4.ref | 35 ++- ...p1.volumes_link_resource_attributes_ok.ref | 15 +- 31 files changed, 765 insertions(+), 565 deletions(-) diff --git a/tests/qa_provider_oapi/data/flexible_gpu_link/TF-174_flexible_gpu_link_resource_attributes_ok/step1.flexible_gpu_link_resource_attributes_ok.ref b/tests/qa_provider_oapi/data/flexible_gpu_link/TF-174_flexible_gpu_link_resource_attributes_ok/step1.flexible_gpu_link_resource_attributes_ok.ref index b24f45f5a..4b7c14ebb 100644 --- a/tests/qa_provider_oapi/data/flexible_gpu_link/TF-174_flexible_gpu_link_resource_attributes_ok/step1.flexible_gpu_link_resource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/flexible_gpu_link/TF-174_flexible_gpu_link_resource_attributes_ok/step1.flexible_gpu_link_resource_attributes_ok.ref @@ -89,12 +89,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-3##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-3##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/flexible_gpus/TF-175_flexible_gpus_datasource_attributes_ok/step1.flexible_gpus_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/flexible_gpus/TF-175_flexible_gpus_datasource_attributes_ok/step1.flexible_gpus_datasource_attributes_ok.ref index a5869be59..b81ba0b66 100644 --- a/tests/qa_provider_oapi/data/flexible_gpus/TF-175_flexible_gpus_datasource_attributes_ok/step1.flexible_gpus_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/flexible_gpus/TF-175_flexible_gpus_datasource_attributes_ok/step1.flexible_gpus_datasource_attributes_ok.ref @@ -66,21 +66,21 @@ "flexible_gpus": [ { "delete_on_vm_deletion": true, - "flexible_gpu_id": "##id-0##", + "flexible_gpu_id": "##id-2##", "generation": "v5", "model_name": "nvidia-p6", - "state": "attached", + "state": "allocated", "subregion_name": "###region###a", - "vm_id": "##id-1##" + "vm_id": "" }, { "delete_on_vm_deletion": true, - "flexible_gpu_id": "##id-2##", + "flexible_gpu_id": "##id-0##", "generation": "v5", "model_name": "nvidia-p6", - "state": "allocated", + "state": "attached", "subregion_name": "###region###a", - "vm_id": "" + "vm_id": "##id-1##" } ], "id": "##id-3##", @@ -198,12 +198,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-5##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-5##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/functional_tests/TF-65_Check_IGW_Destroy/step1.test_destroy_igw.ref b/tests/qa_provider_oapi/data/functional_tests/TF-65_Check_IGW_Destroy/step1.test_destroy_igw.ref index 300bbec11..5cb086994 100644 --- a/tests/qa_provider_oapi/data/functional_tests/TF-65_Check_IGW_Destroy/step1.test_destroy_igw.ref +++ b/tests/qa_provider_oapi/data/functional_tests/TF-65_Check_IGW_Destroy/step1.test_destroy_igw.ref @@ -308,7 +308,7 @@ "net_peering_id": "", "nic_id": "", "request_id": "########", - "route_table_id": "##id-15##", + "route_table_id": "##id-16##", "state": "active", "vm_account_id": "", "vm_id": "" @@ -337,13 +337,13 @@ "destination_ip_range": "0.0.0.0/0", "destination_service_id": "", "gateway_id": "", - "id": "##id-16##", + "id": "##id-17##", "nat_access_point": "", "nat_service_id": "##id-2##", "net_peering_id": "", "nic_id": "", "request_id": "########", - "route_table_id": "##id-16##", + "route_table_id": "##id-18##", "state": "active", "vm_account_id": "", "vm_id": "" @@ -367,17 +367,17 @@ "mode": "managed", "type": "outscale_route_table", "name": "nat", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { - "id": "##id-16##", + "id": "##id-18##", "link_route_tables": [], "net_id": "##id-1##", "request_id": "########", "route_propagating_virtual_gateways": [], - "route_table_id": "##id-16##", + "route_table_id": "##id-18##", "routes": [ { "creation_method": "CreateRouteTable", @@ -407,17 +407,17 @@ "mode": "managed", "type": "outscale_route_table", "name": "public", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { - "id": "##id-15##", + "id": "##id-16##", "link_route_tables": [], "net_id": "##id-1##", "request_id": "########", "route_propagating_virtual_gateways": [], - "route_table_id": "##id-15##", + "route_table_id": "##id-16##", "routes": [ { "creation_method": "CreateRouteTable", @@ -447,16 +447,16 @@ "mode": "managed", "type": "outscale_route_table_link", "name": "igw", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { - "id": "##id-17##", - "link_route_table_id": "##id-17##", + "id": "##id-19##", + "link_route_table_id": "##id-19##", "main": false, "request_id": "########", - "route_table_id": "##id-15##", + "route_table_id": "##id-16##", "subnet_id": "##id-4##" }, "sensitive_attributes": [], @@ -473,17 +473,17 @@ "mode": "managed", "type": "outscale_route_table_link", "name": "nat", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { - "id": "##id-18##", - "link_route_table_id": "##id-18##", + "id": "##id-20##", + "link_route_table_id": "##id-20##", "main": false, "request_id": "########", - "route_table_id": "##id-16##", - "subnet_id": "##id-19##" + "route_table_id": "##id-18##", + "subnet_id": "##id-21##" }, "sensitive_attributes": [], "private": "bnVsbA==", @@ -506,7 +506,7 @@ "attributes": { "account_id": "##id-9##", "description": "sg for terraform tests", - "id": "##id-20##", + "id": "##id-22##", "inbound_rules": [], "net_id": "##id-1##", "outbound_rules": [ @@ -520,7 +520,7 @@ ], "remove_default_outbound_rule": false, "request_id": "########", - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12", "tag": null, "tags": [] @@ -544,7 +544,7 @@ "attributes": { "account_id": "##id-9##", "description": "sg for terraform tests", - "id": "##id-21##", + "id": "##id-23##", "inbound_rules": [], "net_id": "##id-1##", "outbound_rules": [ @@ -558,7 +558,7 @@ ], "remove_default_outbound_rule": false, "request_id": "########", - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22", "tag": null, "tags": [] @@ -582,7 +582,7 @@ "attributes": { "flow": "Inbound", "from_port_range": 0, - "id": "##id-20##", + "id": "##id-22##", "inbound_rules": [ { "from_port_range": 0, @@ -609,7 +609,7 @@ "request_id": "########", "rules": [], "security_group_account_id_to_link": null, - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12", "security_group_name_to_link": null, "to_port_range": 0 @@ -634,7 +634,7 @@ "attributes": { "flow": "Inbound", "from_port_range": 0, - "id": "##id-21##", + "id": "##id-23##", "inbound_rules": [ { "from_port_range": 0, @@ -661,7 +661,7 @@ "request_id": "########", "rules": [], "security_group_account_id_to_link": null, - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22", "security_group_name_to_link": null, "to_port_range": 0 @@ -686,7 +686,7 @@ "attributes": { "flow": "Inbound", "from_port_range": 22, - "id": "##id-20##", + "id": "##id-22##", "inbound_rules": [ { "from_port_range": 0, @@ -721,7 +721,7 @@ "request_id": "########", "rules": [], "security_group_account_id_to_link": null, - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12", "security_group_name_to_link": null, "to_port_range": 22 @@ -747,7 +747,7 @@ "attributes": { "flow": "Inbound", "from_port_range": 80, - "id": "##id-21##", + "id": "##id-23##", "inbound_rules": [ { "from_port_range": 0, @@ -782,7 +782,7 @@ "request_id": "########", "rules": [], "security_group_account_id_to_link": null, - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22", "security_group_name_to_link": null, "to_port_range": 80 @@ -808,7 +808,7 @@ "attributes": { "flow": "Inbound", "from_port_range": 1024, - "id": "##id-20##", + "id": "##id-22##", "inbound_rules": [ { "from_port_range": 0, @@ -851,7 +851,7 @@ "request_id": "########", "rules": [], "security_group_account_id_to_link": null, - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12", "security_group_name_to_link": null, "to_port_range": 1024 @@ -878,7 +878,7 @@ "attributes": { "flow": "Inbound", "from_port_range": 1024, - "id": "##id-21##", + "id": "##id-23##", "inbound_rules": [ { "from_port_range": 0, @@ -921,7 +921,7 @@ "request_id": "########", "rules": [], "security_group_account_id_to_link": null, - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22", "security_group_name_to_link": null, "to_port_range": 1024 @@ -947,13 +947,13 @@ "schema_version": 0, "attributes": { "available_ips_count": 251, - "id": "##id-19##", + "id": "##id-21##", "ip_range": "10.0.1.0/24", "map_public_ip_on_launch": false, "net_id": "##id-1##", "request_id": "########", "state": "available", - "subnet_id": "##id-19##", + "subnet_id": "##id-21##", "subregion_name": "###region###a", "tags": [ { @@ -1020,12 +1020,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-22##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-24##" + } + ], "device_name": "/dev/sda1" } ], @@ -1036,7 +1039,7 @@ "get_admin_password": null, "hypervisor": "xen", "id": "##id-11##", - "image_id": "##id-23##", + "image_id": "##id-25##", "is_source_dest_checked": true, "keypair_name": "", "launch_number": 0, @@ -1053,7 +1056,7 @@ { "delete_on_vm_deletion": true, "device_number": "0", - "link_nic_id": "##id-24##", + "link_nic_id": "##id-26##", "state": "attached" } ], @@ -1072,11 +1075,11 @@ ], "secondary_private_ip_count": 0, "security_group_ids": [ - "##id-21##" + "##id-23##" ], "security_groups": [ { - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22" } ], @@ -1097,16 +1100,16 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-25##", + "reservation_id": "##id-27##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-21##" + "##id-23##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22" } ], @@ -1142,12 +1145,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-26##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-28##" + } + ], "device_name": "/dev/sda1" } ], @@ -1158,7 +1164,7 @@ "get_admin_password": null, "hypervisor": "xen", "id": "##id-14##", - "image_id": "##id-23##", + "image_id": "##id-25##", "is_source_dest_checked": true, "keypair_name": "", "launch_number": 0, @@ -1175,7 +1181,7 @@ { "delete_on_vm_deletion": true, "device_number": "0", - "link_nic_id": "##id-27##", + "link_nic_id": "##id-29##", "state": "attached" } ], @@ -1194,11 +1200,11 @@ ], "secondary_private_ip_count": 0, "security_group_ids": [ - "##id-21##" + "##id-23##" ], "security_groups": [ { - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22" } ], @@ -1219,16 +1225,16 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-28##", + "reservation_id": "##id-30##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-21##" + "##id-23##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22" } ], @@ -1264,12 +1270,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-29##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-31##" + } + ], "device_name": "/dev/sda1" } ], @@ -1279,8 +1288,8 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-30##", - "image_id": "##id-23##", + "id": "##id-32##", + "image_id": "##id-25##", "is_source_dest_checked": true, "keypair_name": "", "launch_number": 0, @@ -1297,14 +1306,14 @@ { "delete_on_vm_deletion": true, "device_number": "0", - "link_nic_id": "##id-31##", + "link_nic_id": "##id-33##", "state": "attached" } ], "link_public_ip": [], "mac_address": "########", "net_id": "##id-1##", - "nic_id": "##id-32##", + "nic_id": "##id-34##", "private_dns_name": "########", "private_ips": [ { @@ -1316,11 +1325,11 @@ ], "secondary_private_ip_count": 0, "security_group_ids": [ - "##id-21##" + "##id-23##" ], "security_groups": [ { - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22" } ], @@ -1341,16 +1350,16 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-33##", + "reservation_id": "##id-35##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-21##" + "##id-23##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-21##", + "security_group_id": "##id-23##", "security_group_name": "terraform-sg-22" } ], @@ -1365,7 +1374,7 @@ ], "timeouts": null, "user_data": "", - "vm_id": "##id-30##", + "vm_id": "##id-32##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -1394,12 +1403,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-34##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-36##" + } + ], "device_name": "/dev/sda1" } ], @@ -1409,8 +1421,8 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-35##", - "image_id": "##id-23##", + "id": "##id-37##", + "image_id": "##id-25##", "is_source_dest_checked": true, "keypair_name": "", "launch_number": 0, @@ -1427,14 +1439,14 @@ { "delete_on_vm_deletion": true, "device_number": "0", - "link_nic_id": "##id-36##", + "link_nic_id": "##id-38##", "state": "attached" } ], "link_public_ip": [], "mac_address": "########", "net_id": "##id-1##", - "nic_id": "##id-37##", + "nic_id": "##id-39##", "private_dns_name": "########", "private_ips": [ { @@ -1446,16 +1458,16 @@ ], "secondary_private_ip_count": 0, "security_group_ids": [ - "##id-20##" + "##id-22##" ], "security_groups": [ { - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12" } ], "state": "in-use", - "subnet_id": "##id-19##" + "subnet_id": "##id-21##" } ], "os_family": "", @@ -1471,22 +1483,22 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-38##", + "reservation_id": "##id-40##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-20##" + "##id-22##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12" } ], "state": "running", "state_reason": "", - "subnet_id": "##id-19##", + "subnet_id": "##id-21##", "tags": [ { "key": "name", @@ -1495,7 +1507,7 @@ ], "timeouts": null, "user_data": "", - "vm_id": "##id-35##", + "vm_id": "##id-37##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -1516,12 +1528,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-39##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-41##" + } + ], "device_name": "/dev/sda1" } ], @@ -1531,8 +1546,8 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-40##", - "image_id": "##id-23##", + "id": "##id-42##", + "image_id": "##id-25##", "is_source_dest_checked": true, "keypair_name": "", "launch_number": 0, @@ -1549,14 +1564,14 @@ { "delete_on_vm_deletion": true, "device_number": "0", - "link_nic_id": "##id-41##", + "link_nic_id": "##id-43##", "state": "attached" } ], "link_public_ip": [], "mac_address": "########", "net_id": "##id-1##", - "nic_id": "##id-42##", + "nic_id": "##id-44##", "private_dns_name": "########", "private_ips": [ { @@ -1568,16 +1583,16 @@ ], "secondary_private_ip_count": 0, "security_group_ids": [ - "##id-20##" + "##id-22##" ], "security_groups": [ { - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12" } ], "state": "in-use", - "subnet_id": "##id-19##" + "subnet_id": "##id-21##" } ], "os_family": "", @@ -1593,22 +1608,22 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-43##", + "reservation_id": "##id-45##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-20##" + "##id-22##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12" } ], "state": "running", "state_reason": "", - "subnet_id": "##id-19##", + "subnet_id": "##id-21##", "tags": [ { "key": "name", @@ -1617,7 +1632,7 @@ ], "timeouts": null, "user_data": "", - "vm_id": "##id-40##", + "vm_id": "##id-42##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -1638,12 +1653,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-44##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-46##" + } + ], "device_name": "/dev/sda1" } ], @@ -1653,8 +1671,8 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-45##", - "image_id": "##id-23##", + "id": "##id-47##", + "image_id": "##id-25##", "is_source_dest_checked": true, "keypair_name": "", "launch_number": 0, @@ -1671,14 +1689,14 @@ { "delete_on_vm_deletion": true, "device_number": "0", - "link_nic_id": "##id-46##", + "link_nic_id": "##id-48##", "state": "attached" } ], "link_public_ip": [], "mac_address": "########", "net_id": "##id-1##", - "nic_id": "##id-47##", + "nic_id": "##id-49##", "private_dns_name": "########", "private_ips": [ { @@ -1690,16 +1708,16 @@ ], "secondary_private_ip_count": 0, "security_group_ids": [ - "##id-20##" + "##id-22##" ], "security_groups": [ { - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12" } ], "state": "in-use", - "subnet_id": "##id-19##" + "subnet_id": "##id-21##" } ], "os_family": "", @@ -1715,22 +1733,22 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-48##", + "reservation_id": "##id-50##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-20##" + "##id-22##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-20##", + "security_group_id": "##id-22##", "security_group_name": "terraform-sg-12" } ], "state": "running", "state_reason": "", - "subnet_id": "##id-19##", + "subnet_id": "##id-21##", "tags": [ { "key": "name", @@ -1739,7 +1757,7 @@ ], "timeouts": null, "user_data": "", - "vm_id": "##id-45##", + "vm_id": "##id-47##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, diff --git a/tests/qa_provider_oapi/data/image/TF-66_image_datasource_attributes_ok/step1.image_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/image/TF-66_image_datasource_attributes_ok/step1.image_datasource_attributes_ok.ref index cb1a7a2ef..dc928d1c3 100644 --- a/tests/qa_provider_oapi/data/image/TF-66_image_datasource_attributes_ok/step1.image_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/image/TF-66_image_datasource_attributes_ok/step1.image_datasource_attributes_ok.ref @@ -559,12 +559,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-4##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-4##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/image/TF-67_image_resource_attributes_ok/step1.image_no-reboot_resource_std_attributes_ok.ref b/tests/qa_provider_oapi/data/image/TF-67_image_resource_attributes_ok/step1.image_no-reboot_resource_std_attributes_ok.ref index d0e7fe978..fed7ea446 100644 --- a/tests/qa_provider_oapi/data/image/TF-67_image_resource_attributes_ok/step1.image_no-reboot_resource_std_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/image/TF-67_image_resource_attributes_ok/step1.image_no-reboot_resource_std_attributes_ok.ref @@ -163,12 +163,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-7##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-7##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/image_launch_permission/TF-68_image_launch_permission_resource_attributes_ok/step1.image_launch_permission_resource_attributes_ok.ref b/tests/qa_provider_oapi/data/image_launch_permission/TF-68_image_launch_permission_resource_attributes_ok/step1.image_launch_permission_resource_attributes_ok.ref index 948e025da..577accef7 100644 --- a/tests/qa_provider_oapi/data/image_launch_permission/TF-68_image_launch_permission_resource_attributes_ok/step1.image_launch_permission_resource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/image_launch_permission/TF-68_image_launch_permission_resource_attributes_ok/step1.image_launch_permission_resource_attributes_ok.ref @@ -152,12 +152,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-5##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-5##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/images/TF-69_images_datasource_attributes_ok/step1.images_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/images/TF-69_images_datasource_attributes_ok/step1.images_datasource_attributes_ok.ref index 2e1e90a56..1907c2fab 100644 --- a/tests/qa_provider_oapi/data/images/TF-69_images_datasource_attributes_ok/step1.images_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/images/TF-69_images_datasource_attributes_ok/step1.images_datasource_attributes_ok.ref @@ -97,12 +97,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-4##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-4##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/images/TF-69_images_datasource_attributes_ok/step2.images_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/images/TF-69_images_datasource_attributes_ok/step2.images_datasource_attributes_ok.ref index 97a45fdf9..ca5301c73 100644 --- a/tests/qa_provider_oapi/data/images/TF-69_images_datasource_attributes_ok/step2.images_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/images/TF-69_images_datasource_attributes_ok/step2.images_datasource_attributes_ok.ref @@ -60,11 +60,11 @@ "tags": [ { "key": "Key-2", - "value": "value-tags-2" + "value": "value:TF69" }, { "key": "Key:TF69", - "value": "value:TF69" + "value": "value-tags" } ] }, @@ -109,11 +109,11 @@ "tags": [ { "key": "Key-2", - "value": "value:TF69" + "value": "value-tags-2" }, { "key": "Key:TF69", - "value": "value-tags" + "value": "value:TF69" } ] } @@ -149,7 +149,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-4##", + "snapshot_id": "##id-2##", "volume_size": 10, "volume_type": "standard" } @@ -161,7 +161,7 @@ "creation_date": "########", "description": "", "file_location": "########", - "image_id": "##id-5##", + "image_id": "##id-3##", "image_name": "########", "image_type": "machine", "permissions_to_launch": [], @@ -198,7 +198,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-2##", + "snapshot_id": "##id-4##", "volume_size": 10, "volume_type": "standard" } @@ -210,7 +210,7 @@ "creation_date": "########", "description": "", "file_location": "########", - "image_id": "##id-3##", + "image_id": "##id-5##", "image_name": "########", "image_type": "machine", "permissions_to_launch": [], @@ -269,7 +269,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-4##", + "snapshot_id": "##id-2##", "volume_size": 10, "volume_type": "standard" } @@ -281,7 +281,7 @@ "creation_date": "########", "description": "", "file_location": "########", - "image_id": "##id-5##", + "image_id": "##id-3##", "image_name": "########", "image_type": "machine", "permissions_to_launch": [], @@ -318,7 +318,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-2##", + "snapshot_id": "##id-4##", "volume_size": 10, "volume_type": "standard" } @@ -330,7 +330,7 @@ "creation_date": "########", "description": "", "file_location": "########", - "image_id": "##id-3##", + "image_id": "##id-5##", "image_name": "########", "image_type": "machine", "permissions_to_launch": [], @@ -389,7 +389,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-4##", + "snapshot_id": "##id-2##", "volume_size": 10, "volume_type": "standard" } @@ -401,7 +401,7 @@ "creation_date": "########", "description": "", "file_location": "########", - "image_id": "##id-5##", + "image_id": "##id-3##", "image_name": "########", "image_type": "machine", "permissions_to_launch": [], @@ -438,7 +438,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-2##", + "snapshot_id": "##id-4##", "volume_size": 10, "volume_type": "standard" } @@ -450,7 +450,7 @@ "creation_date": "########", "description": "", "file_location": "########", - "image_id": "##id-3##", + "image_id": "##id-5##", "image_name": "########", "image_type": "machine", "permissions_to_launch": [], @@ -509,7 +509,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-2##", + "snapshot_id": "##id-4##", "volume_size": 10, "volume_type": "standard" } @@ -521,7 +521,7 @@ "creation_date": "########", "description": "", "file_location": "########", - "image_id": "##id-3##", + "image_id": "##id-5##", "image_name": "########", "image_type": "machine", "permissions_to_launch": [], @@ -574,7 +574,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-4##", + "snapshot_id": "##id-2##", "volume_size": 10, "volume_type": "standard" } @@ -586,8 +586,8 @@ "creation_date": "########", "description": "", "file_location": "########", - "id": "##id-5##", - "image_id": "##id-5##", + "id": "##id-3##", + "image_id": "##id-3##", "image_name": "########", "image_type": "machine", "is_public": null, @@ -652,7 +652,7 @@ { "delete_on_vm_deletion": true, "iops": 0, - "snapshot_id": "##id-2##", + "snapshot_id": "##id-4##", "volume_size": 10, "volume_type": "standard" } @@ -664,8 +664,8 @@ "creation_date": "########", "description": "", "file_location": "########", - "id": "##id-3##", - "image_id": "##id-3##", + "id": "##id-5##", + "image_id": "##id-5##", "image_name": "########", "image_type": "machine", "is_public": null, @@ -726,12 +726,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-11##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-11##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-87_load_balancer_listener_rule_datasource_attributes_ok/step1.load_balancer_listener_rule_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-87_load_balancer_listener_rule_datasource_attributes_ok/step1.load_balancer_listener_rule_datasource_attributes_ok.ref index cb6deb3da..6159de1ef 100644 --- a/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-87_load_balancer_listener_rule_datasource_attributes_ok/step1.load_balancer_listener_rule_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-87_load_balancer_listener_rule_datasource_attributes_ok/step1.load_balancer_listener_rule_datasource_attributes_ok.ref @@ -244,12 +244,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-11##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-11##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-88_load_balancer_listener_rule_resource_attributes_ok/step1.load_balancer_listener_rule_resource_attributes_ok.ref b/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-88_load_balancer_listener_rule_resource_attributes_ok/step1.load_balancer_listener_rule_resource_attributes_ok.ref index 55d55680d..4482d3887 100644 --- a/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-88_load_balancer_listener_rule_resource_attributes_ok/step1.load_balancer_listener_rule_resource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-88_load_balancer_listener_rule_resource_attributes_ok/step1.load_balancer_listener_rule_resource_attributes_ok.ref @@ -259,12 +259,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-12##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-12##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-88_load_balancer_listener_rule_resource_attributes_ok/step2.load_balancer_listener_rule_resource_attributes_ok.ref b/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-88_load_balancer_listener_rule_resource_attributes_ok/step2.load_balancer_listener_rule_resource_attributes_ok.ref index df05ab1fe..7f4fc1411 100644 --- a/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-88_load_balancer_listener_rule_resource_attributes_ok/step2.load_balancer_listener_rule_resource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/load_balancer_listener_rule/TF-88_load_balancer_listener_rule_resource_attributes_ok/step2.load_balancer_listener_rule_resource_attributes_ok.ref @@ -258,12 +258,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-12##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-12##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/load_balancer_listener_rules/TF-89_load_balancer_listener_rules_datasource_attributes_ok/step1.load_balancer_listener_rules_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/load_balancer_listener_rules/TF-89_load_balancer_listener_rules_datasource_attributes_ok/step1.load_balancer_listener_rules_datasource_attributes_ok.ref index 4f0c1948d..e2b8861fa 100644 --- a/tests/qa_provider_oapi/data/load_balancer_listener_rules/TF-89_load_balancer_listener_rules_datasource_attributes_ok/step1.load_balancer_listener_rules_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/load_balancer_listener_rules/TF-89_load_balancer_listener_rules_datasource_attributes_ok/step1.load_balancer_listener_rules_datasource_attributes_ok.ref @@ -19,24 +19,24 @@ "listener_rules": [ { "action": "forward", - "host_name_pattern": "*.abc.-.abc.*.com", + "host_name_pattern": "", "listener_id": "##id-1##", "listener_rule_id": "##id-2##", - "listener_rule_name": "listener-rule-2", - "path_pattern": "", - "priority": 1, + "listener_rule_name": "listener-rule-1", + "path_pattern": "*.abc.*.abc.*.com", + "priority": 10, "vm_ids": [ "##id-3##" ] }, { "action": "forward", - "host_name_pattern": "", + "host_name_pattern": "*.abc.-.abc.*.com", "listener_id": "##id-1##", "listener_rule_id": "##id-4##", - "listener_rule_name": "listener-rule-1", - "path_pattern": "*.abc.*.abc.*.com", - "priority": 10, + "listener_rule_name": "listener-rule-2", + "path_pattern": "", + "priority": 1, "vm_ids": [ "##id-3##" ] @@ -157,7 +157,7 @@ "action": "forward", "host_name_pattern": "", "listener_id": "##id-1##", - "listener_rule_id": "##id-4##", + "listener_rule_id": "##id-2##", "listener_rule_name": "listener-rule-1", "path_pattern": "*.abc.*.abc.*.com", "priority": 10 @@ -199,7 +199,7 @@ "action": "forward", "host_name_pattern": "*.abc.-.abc.*.com", "listener_id": "##id-1##", - "listener_rule_id": "##id-2##", + "listener_rule_id": "##id-4##", "listener_rule_name": "listener-rule-2", "path_pattern": "", "priority": 1 @@ -260,12 +260,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-11##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-11##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/load_balancer_vm_health/TF-92_load_balancer_vm_health_datasource_attributes_ok/step1.load_balancer_vm_health_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/load_balancer_vm_health/TF-92_load_balancer_vm_health_datasource_attributes_ok/step1.load_balancer_vm_health_datasource_attributes_ok.ref index c44baa62a..3a3ab169b 100644 --- a/tests/qa_provider_oapi/data/load_balancer_vm_health/TF-92_load_balancer_vm_health_datasource_attributes_ok/step1.load_balancer_vm_health_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/load_balancer_vm_health/TF-92_load_balancer_vm_health_datasource_attributes_ok/step1.load_balancer_vm_health_datasource_attributes_ok.ref @@ -305,12 +305,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-8##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-8##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step1.load_balancer_vms_resource_attributes_ok.ref b/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step1.load_balancer_vms_resource_attributes_ok.ref index 10215864b..b79daf6f3 100644 --- a/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step1.load_balancer_vms_resource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step1.load_balancer_vms_resource_attributes_ok.ref @@ -143,12 +143,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" } ], @@ -220,12 +223,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-10##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-10##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step2.load_balancer_vms_resource_remove_vm_ok.ref b/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step2.load_balancer_vms_resource_remove_vm_ok.ref index ca28269c1..d648229d2 100644 --- a/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step2.load_balancer_vms_resource_remove_vm_ok.ref +++ b/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step2.load_balancer_vms_resource_remove_vm_ok.ref @@ -144,12 +144,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" } ], @@ -221,12 +224,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-10##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-10##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/nic/TF-109_nic_datasource_attributes_ok/step1.nic_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/nic/TF-109_nic_datasource_attributes_ok/step1.nic_datasource_attributes_ok.ref index f82840874..5fcb65edb 100644 --- a/tests/qa_provider_oapi/data/nic/TF-109_nic_datasource_attributes_ok/step1.nic_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/nic/TF-109_nic_datasource_attributes_ok/step1.nic_datasource_attributes_ok.ref @@ -959,12 +959,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-15##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-15##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/nic_link/TF-111_nic_link_resource_attributes_ok/step1.nic_link_resource_attributes_ok.ref b/tests/qa_provider_oapi/data/nic_link/TF-111_nic_link_resource_attributes_ok/step1.nic_link_resource_attributes_ok.ref index 7042090d0..fa58c9a2c 100644 --- a/tests/qa_provider_oapi/data/nic_link/TF-111_nic_link_resource_attributes_ok/step1.nic_link_resource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/nic_link/TF-111_nic_link_resource_attributes_ok/step1.nic_link_resource_attributes_ok.ref @@ -234,12 +234,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-10##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-10##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/public_ip_link/TF-116_public_ip_link_resource_attributes_ok/step1.public_ip_link_resource_attributes_ok.ref b/tests/qa_provider_oapi/data/public_ip_link/TF-116_public_ip_link_resource_attributes_ok/step1.public_ip_link_resource_attributes_ok.ref index ab529cb1b..22a2bf9e2 100644 --- a/tests/qa_provider_oapi/data/public_ip_link/TF-116_public_ip_link_resource_attributes_ok/step1.public_ip_link_resource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/public_ip_link/TF-116_public_ip_link_resource_attributes_ok/step1.public_ip_link_resource_attributes_ok.ref @@ -109,12 +109,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vm/TF-143_vm_datasource_centos_attributes_ok/step1.vm_datasource_centos_ok.ref b/tests/qa_provider_oapi/data/vm/TF-143_vm_datasource_centos_attributes_ok/step1.vm_datasource_centos_ok.ref index a44c386b1..bc153b28a 100644 --- a/tests/qa_provider_oapi/data/vm/TF-143_vm_datasource_centos_attributes_ok/step1.vm_datasource_centos_ok.ref +++ b/tests/qa_provider_oapi/data/vm/TF-143_vm_datasource_centos_attributes_ok/step1.vm_datasource_centos_ok.ref @@ -17,12 +17,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-0##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-0##" + } + ], "device_name": "/dev/sda1" } ], @@ -98,12 +101,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-5##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-5##" + } + ], "device_name": "/dev/sda1" } ], @@ -175,12 +181,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-8##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-8##" + } + ], "device_name": "/dev/sda1" } ], @@ -303,12 +312,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-0##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-0##" + } + ], "device_name": "/dev/sda1" } ], @@ -395,12 +407,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-5##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-5##" + } + ], "device_name": "/dev/sda1" } ], @@ -475,12 +490,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-8##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-8##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vm/TF-143_vm_datasource_centos_attributes_ok/step2.vm_datasource_centos_ok.ref b/tests/qa_provider_oapi/data/vm/TF-143_vm_datasource_centos_attributes_ok/step2.vm_datasource_centos_ok.ref index 0cc284991..912ed9477 100644 --- a/tests/qa_provider_oapi/data/vm/TF-143_vm_datasource_centos_attributes_ok/step2.vm_datasource_centos_ok.ref +++ b/tests/qa_provider_oapi/data/vm/TF-143_vm_datasource_centos_attributes_ok/step2.vm_datasource_centos_ok.ref @@ -17,12 +17,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-0##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-0##" + } + ], "device_name": "/dev/sda1" } ], @@ -98,12 +101,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-0##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-0##" + } + ], "device_name": "/dev/sda1" } ], @@ -179,12 +185,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-0##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-0##" + } + ], "device_name": "/dev/sda1" } ], @@ -260,12 +269,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-5##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-5##" + } + ], "device_name": "/dev/sda1" } ], @@ -337,12 +349,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-8##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-8##" + } + ], "device_name": "/dev/sda1" } ], @@ -465,12 +480,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-0##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-0##" + } + ], "device_name": "/dev/sda1" } ], @@ -557,12 +575,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-5##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-5##" + } + ], "device_name": "/dev/sda1" } ], @@ -637,12 +658,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-8##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-8##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vm/TF-144_vm_resource_centos_attributes_ok/step1.vm_resource_centos_ok.ref b/tests/qa_provider_oapi/data/vm/TF-144_vm_resource_centos_attributes_ok/step1.vm_resource_centos_ok.ref index 0dfb28835..c8b149503 100644 --- a/tests/qa_provider_oapi/data/vm/TF-144_vm_resource_centos_attributes_ok/step1.vm_resource_centos_ok.ref +++ b/tests/qa_provider_oapi/data/vm/TF-144_vm_resource_centos_attributes_ok/step1.vm_resource_centos_ok.ref @@ -205,7 +205,7 @@ "net_peering_id": "", "nic_id": "", "request_id": "########", - "route_table_id": "##id-9##", + "route_table_id": "##id-10##", "state": "active", "vm_account_id": "", "vm_id": "" @@ -224,17 +224,17 @@ "mode": "managed", "type": "outscale_route_table", "name": "outscale_route_table", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { - "id": "##id-9##", + "id": "##id-10##", "link_route_tables": [], "net_id": "##id-1##", "request_id": "########", "route_propagating_virtual_gateways": [], - "route_table_id": "##id-9##", + "route_table_id": "##id-10##", "routes": [ { "creation_method": "CreateRouteTable", @@ -269,17 +269,17 @@ "mode": "managed", "type": "outscale_route_table_link", "name": "outscale_route_table_link", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { - "id": "##id-10##", - "link_route_table_id": "##id-10##", + "id": "##id-11##", + "link_route_table_id": "##id-11##", "main": false, "request_id": "########", - "route_table_id": "##id-9##", - "subnet_id": "##id-11##" + "route_table_id": "##id-10##", + "subnet_id": "##id-12##" }, "sensitive_attributes": [], "private": "bnVsbA==", @@ -295,14 +295,14 @@ "mode": "managed", "type": "outscale_security_group", "name": "outscale_sg", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { "account_id": "##id-6##", "description": "sg for terraform tests", - "id": "##id-12##", + "id": "##id-13##", "inbound_rules": [], "net_id": "##id-1##", "outbound_rules": [ @@ -316,7 +316,7 @@ ], "remove_default_outbound_rule": false, "request_id": "########", - "security_group_id": "##id-12##", + "security_group_id": "##id-13##", "security_group_name": "terraform-sg", "tag": null, "tags": [ @@ -338,20 +338,20 @@ "mode": "managed", "type": "outscale_security_group", "name": "public_sg_terraform", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { "account_id": "##id-6##", "description": "test vms_2", - "id": "##id-13##", + "id": "##id-14##", "inbound_rules": [], "net_id": "", "outbound_rules": [], "remove_default_outbound_rule": false, "request_id": "########", - "security_group_id": "##id-13##", + "security_group_id": "##id-14##", "security_group_name": "terraform-public-sg_for_vms", "tag": null, "tags": [] @@ -365,19 +365,19 @@ "mode": "managed", "type": "outscale_subnet", "name": "outscale_subnet", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, "attributes": { "available_ips_count": 251, - "id": "##id-11##", + "id": "##id-12##", "ip_range": "10.0.0.0/24", "map_public_ip_on_launch": false, "net_id": "##id-1##", "request_id": "########", "state": "available", - "subnet_id": "##id-11##", + "subnet_id": "##id-12##", "subregion_name": "###region###a", "tags": [ { @@ -409,12 +409,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-14##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-15##" + } + ], "device_name": "/dev/sda1" } ], @@ -424,8 +427,8 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-15##", - "image_id": "##id-16##", + "id": "##id-16##", + "image_id": "##id-17##", "is_source_dest_checked": true, "keypair_name": "KP-TF144", "launch_number": 0, @@ -445,16 +448,16 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-17##", + "reservation_id": "##id-18##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-13##" + "##id-14##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-13##", + "security_group_id": "##id-14##", "security_group_name": "terraform-public-sg_for_vms" } ], @@ -469,7 +472,7 @@ ], "timeouts": null, "user_data": "", - "vm_id": "##id-15##", + "vm_id": "##id-16##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -496,12 +499,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-18##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-19##" + } + ], "device_name": "/dev/sda1" } ], @@ -511,8 +517,8 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-19##", - "image_id": "##id-16##", + "id": "##id-20##", + "image_id": "##id-17##", "is_source_dest_checked": true, "keypair_name": "KP-TF144", "launch_number": 0, @@ -532,7 +538,7 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-20##", + "reservation_id": "##id-21##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": null, @@ -541,7 +547,7 @@ ], "security_groups": [ { - "security_group_id": "##id-13##", + "security_group_id": "##id-14##", "security_group_name": "terraform-public-sg_for_vms" } ], @@ -556,7 +562,7 @@ ], "timeouts": null, "user_data": "", - "vm_id": "##id-19##", + "vm_id": "##id-20##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -583,12 +589,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-21##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-22##" + } + ], "device_name": "/dev/sda1" } ], @@ -599,7 +608,7 @@ "get_admin_password": null, "hypervisor": "xen", "id": "##id-8##", - "image_id": "##id-16##", + "image_id": "##id-17##", "is_source_dest_checked": true, "keypair_name": "KP-TF144", "launch_number": 0, @@ -616,7 +625,7 @@ { "delete_on_vm_deletion": true, "device_number": "0", - "link_nic_id": "##id-22##", + "link_nic_id": "##id-23##", "state": "attached" } ], @@ -635,16 +644,16 @@ ], "secondary_private_ip_count": 0, "security_group_ids": [ - "##id-12##" + "##id-13##" ], "security_groups": [ { - "security_group_id": "##id-12##", + "security_group_id": "##id-13##", "security_group_name": "terraform-sg" } ], "state": "in-use", - "subnet_id": "##id-11##" + "subnet_id": "##id-12##" } ], "os_family": "", @@ -660,22 +669,22 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-23##", + "reservation_id": "##id-24##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-12##" + "##id-13##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-12##", + "security_group_id": "##id-13##", "security_group_name": "terraform-sg" } ], "state": "running", "state_reason": "", - "subnet_id": "##id-11##", + "subnet_id": "##id-12##", "tags": [], "timeouts": null, "user_data": "", diff --git a/tests/qa_provider_oapi/data/vm/TF-145_vm_resource_private_with_multiple_NICs_attributes_ok/step1.vm_resource_private_with_multiple_NICs_ok.ref b/tests/qa_provider_oapi/data/vm/TF-145_vm_resource_private_with_multiple_NICs_attributes_ok/step1.vm_resource_private_with_multiple_NICs_ok.ref index e74b331a7..4db70e1fd 100644 --- a/tests/qa_provider_oapi/data/vm/TF-145_vm_resource_private_with_multiple_NICs_attributes_ok/step1.vm_resource_private_with_multiple_NICs_ok.ref +++ b/tests/qa_provider_oapi/data/vm/TF-145_vm_resource_private_with_multiple_NICs_attributes_ok/step1.vm_resource_private_with_multiple_NICs_ok.ref @@ -240,12 +240,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-9##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-9##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vm/TF-147_vm_resource_with_user_data_attributes_ok/step1.vm_resource_with_user_data_ok.ref b/tests/qa_provider_oapi/data/vm/TF-147_vm_resource_with_user_data_attributes_ok/step1.vm_resource_with_user_data_ok.ref index f197f69df..9513c4b4f 100644 --- a/tests/qa_provider_oapi/data/vm/TF-147_vm_resource_with_user_data_attributes_ok/step1.vm_resource_with_user_data_ok.ref +++ b/tests/qa_provider_oapi/data/vm/TF-147_vm_resource_with_user_data_attributes_ok/step1.vm_resource_with_user_data_ok.ref @@ -41,12 +41,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-1##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-1##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vm/TF-148_vm_resource_with_user_data_attributes_ok/step1.vm_resource_with_user_data_ok_2.ref b/tests/qa_provider_oapi/data/vm/TF-148_vm_resource_with_user_data_attributes_ok/step1.vm_resource_with_user_data_ok_2.ref index 5df40bd1d..6d5bba187 100644 --- a/tests/qa_provider_oapi/data/vm/TF-148_vm_resource_with_user_data_attributes_ok/step1.vm_resource_with_user_data_ok_2.ref +++ b/tests/qa_provider_oapi/data/vm/TF-148_vm_resource_with_user_data_attributes_ok/step1.vm_resource_with_user_data_ok_2.ref @@ -41,12 +41,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-1##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-1##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vm_state/TF-149_vm_state_datasource_centos_attributes_ok/step1.vm_state_datasource_centos_attributes_ok.ref b/tests/qa_provider_oapi/data/vm_state/TF-149_vm_state_datasource_centos_attributes_ok/step1.vm_state_datasource_centos_attributes_ok.ref index 70083b6f7..ec4e88275 100644 --- a/tests/qa_provider_oapi/data/vm_state/TF-149_vm_state_datasource_centos_attributes_ok/step1.vm_state_datasource_centos_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/vm_state/TF-149_vm_state_datasource_centos_attributes_ok/step1.vm_state_datasource_centos_attributes_ok.ref @@ -62,12 +62,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-2##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-2##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vm_states/TF-150_vm_states_datasource_centos_attributes_ok/step1.vm_states_datasource_centos_attributes_ok.ref b/tests/qa_provider_oapi/data/vm_states/TF-150_vm_states_datasource_centos_attributes_ok/step1.vm_states_datasource_centos_attributes_ok.ref index 10fe10e1f..82b73c848 100644 --- a/tests/qa_provider_oapi/data/vm_states/TF-150_vm_states_datasource_centos_attributes_ok/step1.vm_states_datasource_centos_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/vm_states/TF-150_vm_states_datasource_centos_attributes_ok/step1.vm_states_datasource_centos_attributes_ok.ref @@ -73,12 +73,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-4##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-4##" + } + ], "device_name": "/dev/sda1" } ], @@ -152,12 +155,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-8##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-8##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vms/TF-151_vms_datasource_attributes_ok/step1.vms_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/vms/TF-151_vms_datasource_attributes_ok/step1.vms_datasource_attributes_ok.ref index e24081c13..286dbe627 100644 --- a/tests/qa_provider_oapi/data/vms/TF-151_vms_datasource_attributes_ok/step1.vms_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/vms/TF-151_vms_datasource_attributes_ok/step1.vms_datasource_attributes_ok.ref @@ -22,12 +22,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-1##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-1##" + } + ], "device_name": "/dev/sda1" } ], @@ -80,12 +83,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" } ], @@ -177,12 +183,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-1##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-1##" + } + ], "device_name": "/dev/sda1" } ], @@ -249,12 +258,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" } ], @@ -328,12 +340,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-10##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-10##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/vms/TF-151_vms_datasource_attributes_ok/step2.vms_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/vms/TF-151_vms_datasource_attributes_ok/step2.vms_datasource_attributes_ok.ref index 4dbc91d05..4ffe6c2de 100644 --- a/tests/qa_provider_oapi/data/vms/TF-151_vms_datasource_attributes_ok/step2.vms_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/vms/TF-151_vms_datasource_attributes_ok/step2.vms_datasource_attributes_ok.ref @@ -22,12 +22,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-1##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-1##" + } + ], "device_name": "/dev/sda1" } ], @@ -80,12 +83,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" } ], @@ -157,12 +163,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-10##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-10##" + } + ], "device_name": "/dev/sda1" } ], @@ -243,12 +252,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-10##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-10##" + } + ], "device_name": "/dev/sda1" } ], @@ -329,12 +341,15 @@ "architecture": "x86_64", "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-10##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-10##" + } + ], "device_name": "/dev/sda1" } ], @@ -435,12 +450,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-1##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-1##" + } + ], "device_name": "/dev/sda1" } ], @@ -507,12 +525,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" } ], @@ -586,12 +607,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-10##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-10##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/volumes/TF-159_volumes_datasource_attributes_ok4/step1.volumes_datasource_attributes_ok4.ref b/tests/qa_provider_oapi/data/volumes/TF-159_volumes_datasource_attributes_ok4/step1.volumes_datasource_attributes_ok4.ref index 6b4a78742..23b73f5da 100644 --- a/tests/qa_provider_oapi/data/volumes/TF-159_volumes_datasource_attributes_ok4/step1.volumes_datasource_attributes_ok4.ref +++ b/tests/qa_provider_oapi/data/volumes/TF-159_volumes_datasource_attributes_ok4/step1.volumes_datasource_attributes_ok4.ref @@ -88,7 +88,7 @@ "mode": "managed", "type": "outscale_keypair", "name": "my_keypair", - "provider": "provider[\"local/test/outscale\"]", + "provider": "provider[\"registry.terraform.io/outscale-dev/outscale\"]", "instances": [ { "schema_version": 0, @@ -120,12 +120,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" } ], diff --git a/tests/qa_provider_oapi/data/volumes/TF-159_volumes_datasource_attributes_ok4/step2.volumes_datasource_attributes_ok4.ref b/tests/qa_provider_oapi/data/volumes/TF-159_volumes_datasource_attributes_ok4/step2.volumes_datasource_attributes_ok4.ref index 3cf2d298f..70150eb55 100644 --- a/tests/qa_provider_oapi/data/volumes/TF-159_volumes_datasource_attributes_ok4/step2.volumes_datasource_attributes_ok4.ref +++ b/tests/qa_provider_oapi/data/volumes/TF-159_volumes_datasource_attributes_ok4/step2.volumes_datasource_attributes_ok4.ref @@ -120,21 +120,32 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-6##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-6##" + } + ], "device_name": "/dev/sda1" }, { - "bsu": { - "delete_on_vm_deletion": "false", - "link_date": "########", - "state": "attached", - "volume_id": "##id-3##" - }, + "bsu": [ + { + "delete_on_vm_deletion": false, + "link_date": "########", + "state": "attached", + "tags": [ + { + "key": "type", + "value": "io1" + } + ], + "volume_id": "##id-3##" + } + ], "device_name": "/dev/xvdc" } ], diff --git a/tests/qa_provider_oapi/data/volumes_link/TF-160_volumes_link_resource_attributes_ok/step1.volumes_link_resource_attributes_ok.ref b/tests/qa_provider_oapi/data/volumes_link/TF-160_volumes_link_resource_attributes_ok/step1.volumes_link_resource_attributes_ok.ref index e588e51db..75e78ef5a 100644 --- a/tests/qa_provider_oapi/data/volumes_link/TF-160_volumes_link_resource_attributes_ok/step1.volumes_link_resource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/volumes_link/TF-160_volumes_link_resource_attributes_ok/step1.volumes_link_resource_attributes_ok.ref @@ -41,12 +41,15 @@ "block_device_mappings": [], "block_device_mappings_created": [ { - "bsu": { - "delete_on_vm_deletion": "true", - "link_date": "########", - "state": "attached", - "volume_id": "##id-1##" - }, + "bsu": [ + { + "delete_on_vm_deletion": true, + "link_date": "########", + "state": "attached", + "tags": [], + "volume_id": "##id-1##" + } + ], "device_name": "/dev/sda1" } ],