From 53f2417e0d745bcff889e9ab09ce73d1e1a671ad Mon Sep 17 00:00:00 2001 From: outscale-mzi Date: Fri, 20 Dec 2024 11:59:54 +0100 Subject: [PATCH] update lbu and iam tests part2 --- ...e_gpu_catalog_datasource_attributes_ok.ref | 53 ++++++++++--------- ...listener_rule_datasource_attributes_ok.ref | 4 +- ...r_listener_rule_resource_attributes_ok.ref | 4 +- ...r_listener_rule_resource_attributes_ok.ref | 4 +- ...istener_rules_datasource_attributes_ok.ref | 4 +- ...cer_vm_health_datasource_attributes_ok.ref | 4 +- ...ad_balancer_vms_resource_attributes_ok.ref | 16 +++--- ...oad_balancer_vms_resource_attributes_ok.tf | 4 +- ...oad_balancer_vms_resource_remove_vm_ok.ref | 49 ++++++++--------- .../step1.all_iam_resources_attributes_ok.ref | 12 ++--- .../step2.all_iam_resources_update_ok.ref | 30 +++++------ ...1.user_groups_datasource_attributes_ok.ref | 12 ++--- ...to_user_group_datasource_attributes_ok.ref | 12 ++--- ...ked_to_policy_datasource_attributes_ok.ref | 12 ++--- 14 files changed, 109 insertions(+), 111 deletions(-) diff --git a/tests/qa_provider_oapi/data/flexible_gpu_catalog/TF-176_flexible_gpu_catalog_datasource_attributes_ok/step1.flexible_gpu_catalog_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/flexible_gpu_catalog/TF-176_flexible_gpu_catalog_datasource_attributes_ok/step1.flexible_gpu_catalog_datasource_attributes_ok.ref index db9f44796..a780c9a96 100644 --- a/tests/qa_provider_oapi/data/flexible_gpu_catalog/TF-176_flexible_gpu_catalog_datasource_attributes_ok/step1.flexible_gpu_catalog_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/flexible_gpu_catalog/TF-176_flexible_gpu_catalog_datasource_attributes_ok/step1.flexible_gpu_catalog_datasource_attributes_ok.ref @@ -32,8 +32,8 @@ ], "max_cpu": 80, "max_ram": 512, - "model_name": "nvidia-k2", - "v_ram": 4096 + "model_name": "nvidia-m60", + "v_ram": 16000 }, { "generations": [ @@ -42,18 +42,26 @@ ], "max_cpu": 80, "max_ram": 512, - "model_name": "nvidia-m60", - "v_ram": 16000 + "model_name": "nvidia-k2", + "v_ram": 4096 }, { "generations": [ - "v5", - "v6" + "v7" ], "max_cpu": 35, - "max_ram": 250, - "model_name": "nvidia-a100", - "v_ram": 40000 + "max_ram": 256, + "model_name": "nvidia-l40", + "v_ram": 48000 + }, + { + "generations": [ + "v5" + ], + "max_cpu": 80, + "max_ram": 512, + "model_name": "nvidia-p6", + "v_ram": 16000 }, { "generations": [ @@ -71,17 +79,18 @@ ], "max_cpu": 35, "max_ram": 250, - "model_name": "nvidia-a10", - "v_ram": 24000 + "model_name": "nvidia-a100", + "v_ram": 40000 }, { "generations": [ - "v5" + "v5", + "v6" ], - "max_cpu": 80, - "max_ram": 512, - "model_name": "nvidia-p6", - "v_ram": 16000 + "max_cpu": 35, + "max_ram": 250, + "model_name": "nvidia-a10", + "v_ram": 24000 }, { "generations": [ @@ -94,21 +103,13 @@ }, { "generations": [ - "v6" + "v6", + "v7" ], "max_cpu": 35, "max_ram": 256, "model_name": "nvidia-a100-80", "v_ram": 80000 - }, - { - "generations": [ - "v7" - ], - "max_cpu": 35, - "max_ram": 256, - "model_name": "nvidia-l40", - "v_ram": 48000 } ], "id": "##id-0##", 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 ed3e5f228..881523ea9 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 @@ -221,7 +221,7 @@ { "schema_version": 0, "attributes": { - "backend_ips": null, + "backend_ips": "########", "backend_vm_ids": [ "##id-3##" ], @@ -355,4 +355,4 @@ } ], "check_results": "########" -} +} \ No newline at end of file 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 0e3115c1c..a627df05f 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 @@ -237,7 +237,7 @@ { "schema_version": 0, "attributes": { - "backend_ips": null, + "backend_ips": "########", "backend_vm_ids": [ "##id-6##" ], @@ -371,4 +371,4 @@ } ], "check_results": "########" -} +} \ No newline at end of file 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 c11bf09c8..c2ceb2b14 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 @@ -239,7 +239,7 @@ { "schema_version": 0, "attributes": { - "backend_ips": null, + "backend_ips": "########", "backend_vm_ids": [ "##id-1##" ], @@ -373,4 +373,4 @@ } ], "check_results": "########" -} +} \ No newline at end of file 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 a721f9305..84c7b2f6f 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 @@ -237,7 +237,7 @@ { "schema_version": 0, "attributes": { - "backend_ips": null, + "backend_ips": "########", "backend_vm_ids": [ "##id-3##" ], @@ -371,4 +371,4 @@ } ], "check_results": "########" -} +} \ No newline at end of file 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 7910f990a..41d198747 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 @@ -212,7 +212,7 @@ { "schema_version": 0, "attributes": { - "backend_ips": null, + "backend_ips": "########", "backend_vm_ids": [ "##id-0##" ], @@ -377,4 +377,4 @@ } ], "check_results": "########" -} +} \ No newline at end of file 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 9553b7900..4ba50c333 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 @@ -116,7 +116,7 @@ { "schema_version": 0, "attributes": { - "backend_ips": null, + "backend_ips": "########", "backend_vm_ids": [ "##id-3##", "##id-4##" @@ -196,7 +196,7 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-4##", + "id": "##id-3##", "image_id": "##id-9##", "is_source_dest_checked": false, "keypair_name": "KP-TF93", @@ -237,12 +237,12 @@ "tags": [ { "key": "Name", - "value": "Backend-Vms-mzi" + "value": "Backend-Vms-terraform" } ], "timeouts": null, "user_data": "ICAgICAjIS9iaW4vYmFzaAogICAgcHVzaGQgL2hvbWUKICAgIG5vaHVwIHB5dGhvbiAtbSBTaW1wbGVIVFRQU2VydmVyIDgwODAK", - "vm_id": "##id-4##", + "vm_id": "##id-3##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -280,7 +280,7 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-3##", + "id": "##id-4##", "image_id": "##id-9##", "is_source_dest_checked": false, "keypair_name": "KP-TF93", @@ -321,12 +321,12 @@ "tags": [ { "key": "Name", - "value": "Backend-Vms-mzi" + "value": "Backend-Vms-terraform" } ], "timeouts": null, "user_data": "ICAgICAjIS9iaW4vYmFzaAogICAgcHVzaGQgL2hvbWUKICAgIG5vaHVwIHB5dGhvbiAtbSBTaW1wbGVIVFRQU2VydmVyIDgwODAK", - "vm_id": "##id-3##", + "vm_id": "##id-4##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -341,4 +341,4 @@ } ], "check_results": "########" -} +} \ No newline at end of file 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.tf b/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step1.load_balancer_vms_resource_attributes_ok.tf index c998c053a..dd1b1eab5 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.tf +++ b/tests/qa_provider_oapi/data/load_balancer_vms/TF-93_load_balancer_vms_resource_attributes_ok/step1.load_balancer_vms_resource_attributes_ok.tf @@ -2,7 +2,7 @@ resource "outscale_keypair" "my_keypair" { keypair_name = "KP-TF93" } resource "outscale_load_balancer" "public_lbu1" { - load_balancer_name = "lbu-TF-93-11" + load_balancer_name = "lbu-TF-93-new" subregion_names = ["${var.region}a"] listeners { backend_port = 80 @@ -41,7 +41,7 @@ resource "outscale_vm" "outscale_vms_lbu" { ) tags { key = "Name" - value = "Backend-Vms-mzi" + value = "Backend-Vms-terraform" } } 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 054a0a7bc..0e08d5844 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 @@ -45,10 +45,7 @@ } ], "application_sticky_cookie_policies": [], - "backend_vm_ids": [ - "##id-1##", - "##id-2##" - ], + "backend_vm_ids": [], "dns_name": "########", "health_check": [ { @@ -61,7 +58,7 @@ "unhealthy_threshold": 2 } ], - "id": "##id-3##", + "id": "##id-1##", "listeners": [ { "backend_port": 8080, @@ -90,7 +87,7 @@ "security_groups": [], "source_security_group": [ { - "security_group_account_id": "##id-4##", + "security_group_account_id": "##id-2##", "security_group_name": "outscale-elb-sg" } ], @@ -119,11 +116,11 @@ { "schema_version": 0, "attributes": { - "backend_ips": null, + "backend_ips": "########", "backend_vm_ids": [ - "##id-1##" + "##id-3##" ], - "id": "##id-5##", + "id": "##id-4##", "load_balancer_name": "########", "request_id": "########" }, @@ -147,15 +144,15 @@ { "schema_version": 0, "attributes": { - "account_id": "##id-6##", + "account_id": "##id-5##", "description": "test lbu vm health", - "id": "##id-7##", + "id": "##id-6##", "inbound_rules": [], "net_id": "", "outbound_rules": [], "remove_default_outbound_rule": false, "request_id": "########", - "security_group_id": "##id-7##", + "security_group_id": "##id-6##", "security_group_name": "sgTF-93", "tag": null, "tags": [] @@ -186,7 +183,7 @@ "link_date": "########", "state": "attached", "tags": [], - "volume_id": "##id-8##" + "volume_id": "##id-7##" } ], "device_name": "/dev/sda1" @@ -198,8 +195,8 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-1##", - "image_id": "##id-9##", + "id": "##id-3##", + "image_id": "##id-8##", "is_source_dest_checked": false, "keypair_name": "KP-TF93", "launch_number": 0, @@ -220,16 +217,16 @@ "public_dns_name": "########", "public_ip": "########", "request_id": "########", - "reservation_id": "##id-10##", + "reservation_id": "##id-9##", "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-7##" + "##id-6##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-7##", + "security_group_id": "##id-6##", "security_group_name": "sgTF-93" } ], @@ -244,7 +241,7 @@ ], "timeouts": null, "user_data": "ICAgICAjIS9iaW4vYmFzaAogICAgcHVzaGQgL2hvbWUKICAgIG5vaHVwIHB5dGhvbiAtbSBTaW1wbGVIVFRQU2VydmVyIDgwODAK", - "vm_id": "##id-1##", + "vm_id": "##id-3##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -270,7 +267,7 @@ "link_date": "########", "state": "attached", "tags": [], - "volume_id": "##id-11##" + "volume_id": "##id-10##" } ], "device_name": "/dev/sda1" @@ -282,8 +279,8 @@ "deletion_protection": false, "get_admin_password": null, "hypervisor": "xen", - "id": "##id-2##", - "image_id": "##id-9##", + "id": "##id-11##", + "image_id": "##id-8##", "is_source_dest_checked": false, "keypair_name": "KP-TF93", "launch_number": 0, @@ -308,12 +305,12 @@ "root_device_name": "/dev/sda1", "root_device_type": "ebs", "security_group_ids": [ - "##id-7##" + "##id-6##" ], "security_group_names": null, "security_groups": [ { - "security_group_id": "##id-7##", + "security_group_id": "##id-6##", "security_group_name": "sgTF-93" } ], @@ -328,7 +325,7 @@ ], "timeouts": null, "user_data": "ICAgICAjIS9iaW4vYmFzaAogICAgcHVzaGQgL2hvbWUKICAgIG5vaHVwIHB5dGhvbiAtbSBTaW1wbGVIVFRQU2VydmVyIDgwODAK", - "vm_id": "##id-2##", + "vm_id": "##id-11##", "vm_initiated_shutdown_behavior": "stop", "vm_type": "###vm_type###" }, @@ -343,4 +340,4 @@ } ], "check_results": "########" -} +} \ No newline at end of file diff --git a/tests/qa_provider_oapi/data/tests_iam_resources/TF005_all_iam_resources_attributes_ok/step1.all_iam_resources_attributes_ok.ref b/tests/qa_provider_oapi/data/tests_iam_resources/TF005_all_iam_resources_attributes_ok/step1.all_iam_resources_attributes_ok.ref index 93038c1f7..03522ce0b 100644 --- a/tests/qa_provider_oapi/data/tests_iam_resources/TF005_all_iam_resources_attributes_ok/step1.all_iam_resources_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/tests_iam_resources/TF005_all_iam_resources_attributes_ok/step1.all_iam_resources_attributes_ok.ref @@ -312,22 +312,22 @@ "creation_date": "########", "last_modification_date": "########", "path": "/", - "user_id": "##id-10##", - "user_name": "TF-User-1" + "user_id": "##id-9##", + "user_name": "TF-User-0" }, { "creation_date": "########", "last_modification_date": "########", "path": "/", - "user_id": "##id-9##", - "user_name": "TF-User-0" + "user_id": "##id-11##", + "user_name": "TF-User-2" }, { "creation_date": "########", "last_modification_date": "########", "path": "/", - "user_id": "##id-11##", - "user_name": "TF-User-2" + "user_id": "##id-10##", + "user_name": "TF-User-1" } ], "user_group_id": "##id-15##", diff --git a/tests/qa_provider_oapi/data/tests_iam_resources/TF005_all_iam_resources_attributes_ok/step2.all_iam_resources_update_ok.ref b/tests/qa_provider_oapi/data/tests_iam_resources/TF005_all_iam_resources_attributes_ok/step2.all_iam_resources_update_ok.ref index fe68871ea..b63887a5c 100644 --- a/tests/qa_provider_oapi/data/tests_iam_resources/TF005_all_iam_resources_attributes_ok/step2.all_iam_resources_update_ok.ref +++ b/tests/qa_provider_oapi/data/tests_iam_resources/TF005_all_iam_resources_attributes_ok/step2.all_iam_resources_update_ok.ref @@ -49,10 +49,10 @@ "last_modification_date": "########", "orn": "########", "path": "/", - "policy_default_version_id": "##id-4##", - "policy_id": "##id-5##", + "policy_default_version_id": "##id-1##", + "policy_id": "##id-4##", "policy_name": "terraform-policy-2", - "resources_count": 1 + "resources_count": 0 }, "sensitive_attributes": [], "private": "bnVsbA==" @@ -71,13 +71,13 @@ "creation_date": "########", "description": "test-terraform-ro", "document": "{\n \"Statement\": [\n {\n \"Action\": [\n \"api:Read*\"\n ],\n \"Effect\": \"Allow\",\n \"Resource\": [\n \"*\"\n ]\n }\n ]\n} \n", - "id": "##id-6##", + "id": "##id-5##", "is_linkable": true, "last_modification_date": "########", "orn": "########", "path": "/", "policy_default_version_id": "##id-1##", - "policy_id": "##id-7##", + "policy_id": "##id-6##", "policy_name": "terraform-policy-RO", "resources_count": 1 }, @@ -97,12 +97,12 @@ "attributes": { "body": "########", "creation_date": "########", - "default_version": true, + "default_version": false, "document": "{\n \"Statement\": [\n {\n \"Action\": [\n \"api:*VM*\"\n ],\n \"Effect\": \"Allow\",\n \"Resource\": [\n \"*\"\n ]\n }\n ]\n}\n", - "id": "##id-8##", + "id": "##id-7##", "policy_orn": "orn:ows:idauth::339215505907:policy/terraform-policy-2", "set_as_default": null, - "version_id": "##id-4##" + "version_id": "##id-8##" }, "sensitive_attributes": [], "private": "bnVsbA==", @@ -219,9 +219,9 @@ "policy": [ { "creation_date": "########", - "default_version_id": "##id-4##", + "default_version_id": "##id-8##", "last_modification_date": "########", - "policy_id": "##id-5##", + "policy_id": "##id-4##", "policy_name": "terraform-policy-2", "policy_orn": "orn:ows:idauth::339215505907:policy/terraform-policy-2" } @@ -302,7 +302,7 @@ "creation_date": "########", "default_version_id": "##id-1##", "last_modification_date": "########", - "policy_id": "##id-7##", + "policy_id": "##id-6##", "policy_name": "terraform-policy-RO", "policy_orn": "orn:ows:idauth::339215505907:policy/terraform-policy-RO" } @@ -312,8 +312,8 @@ "creation_date": "########", "last_modification_date": "########", "path": "/", - "user_id": "##id-10##", - "user_name": "TF-User-1-3" + "user_id": "##id-9##", + "user_name": "TF-User-0-3" }, { "creation_date": "########", @@ -326,8 +326,8 @@ "creation_date": "########", "last_modification_date": "########", "path": "/", - "user_id": "##id-9##", - "user_name": "TF-User-0-3" + "user_id": "##id-10##", + "user_name": "TF-User-1-3" } ], "user_group_id": "##id-15##", diff --git a/tests/qa_provider_oapi/data/tests_iam_resources/TF009_user_groups_datasource_attributes_ok/step1.user_groups_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/tests_iam_resources/TF009_user_groups_datasource_attributes_ok/step1.user_groups_datasource_attributes_ok.ref index 256f1aac7..f45ac1649 100644 --- a/tests/qa_provider_oapi/data/tests_iam_resources/TF009_user_groups_datasource_attributes_ok/step1.user_groups_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/tests_iam_resources/TF009_user_groups_datasource_attributes_ok/step1.user_groups_datasource_attributes_ok.ref @@ -47,17 +47,17 @@ "creation_date": "########", "last_modification_date": "########", "orn": "########", - "path": "/terraform3/", - "user_group_id": "##id-3##", - "user_group_name": "Group-TF-test-2" + "path": "/terraform/", + "user_group_id": "##id-1##", + "user_group_name": "Group-TF-test-1" }, { "creation_date": "########", "last_modification_date": "########", "orn": "########", - "path": "/terraform/", - "user_group_id": "##id-1##", - "user_group_name": "Group-TF-test-1" + "path": "/terraform3/", + "user_group_id": "##id-3##", + "user_group_name": "Group-TF-test-2" } ] }, diff --git a/tests/qa_provider_oapi/data/tests_iam_resources/TF013_policies_linked_to_user_group_datasource_attributes_ok/step1.policies_linked_to_user_group_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/tests_iam_resources/TF013_policies_linked_to_user_group_datasource_attributes_ok/step1.policies_linked_to_user_group_datasource_attributes_ok.ref index ab983c8f2..1c6343cce 100644 --- a/tests/qa_provider_oapi/data/tests_iam_resources/TF013_policies_linked_to_user_group_datasource_attributes_ok/step1.policies_linked_to_user_group_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/tests_iam_resources/TF013_policies_linked_to_user_group_datasource_attributes_ok/step1.policies_linked_to_user_group_datasource_attributes_ok.ref @@ -22,14 +22,14 @@ "last_modification_date": "########", "orn": "########", "policy_id": "##id-1##", - "policy_name": "terraform-policy-1" + "policy_name": "terraform-policy-2" }, { "creation_date": "########", "last_modification_date": "########", "orn": "########", "policy_id": "##id-2##", - "policy_name": "terraform-policy-2" + "policy_name": "terraform-policy-1" } ], "user_group_name": "Group-TF-policy-1" @@ -56,7 +56,7 @@ "orn": "########", "path": "/", "policy_default_version_id": "##id-4##", - "policy_id": "##id-1##", + "policy_id": "##id-2##", "policy_name": "terraform-policy-1", "resources_count": 0 }, @@ -83,7 +83,7 @@ "orn": "########", "path": "/terraform2/", "policy_default_version_id": "##id-4##", - "policy_id": "##id-2##", + "policy_id": "##id-1##", "policy_name": "terraform-policy-2", "resources_count": 0 }, @@ -111,7 +111,7 @@ "creation_date": "########", "default_version_id": "##id-4##", "last_modification_date": "########", - "policy_id": "##id-2##", + "policy_id": "##id-1##", "policy_name": "terraform-policy-2", "policy_orn": "orn:ows:idauth::339215505907:policy/terraform2/terraform-policy-2" }, @@ -119,7 +119,7 @@ "creation_date": "########", "default_version_id": "##id-4##", "last_modification_date": "########", - "policy_id": "##id-1##", + "policy_id": "##id-2##", "policy_name": "terraform-policy-1", "policy_orn": "orn:ows:idauth::339215505907:policy/terraform-policy-1" } diff --git a/tests/qa_provider_oapi/data/tests_iam_resources/TF014_entities_linked_to_policy_datasource_attributes_ok/step1.entities_linked_to_policy_datasource_attributes_ok.ref b/tests/qa_provider_oapi/data/tests_iam_resources/TF014_entities_linked_to_policy_datasource_attributes_ok/step1.entities_linked_to_policy_datasource_attributes_ok.ref index 478756f55..fe0ff1427 100644 --- a/tests/qa_provider_oapi/data/tests_iam_resources/TF014_entities_linked_to_policy_datasource_attributes_ok/step1.entities_linked_to_policy_datasource_attributes_ok.ref +++ b/tests/qa_provider_oapi/data/tests_iam_resources/TF014_entities_linked_to_policy_datasource_attributes_ok/step1.entities_linked_to_policy_datasource_attributes_ok.ref @@ -148,17 +148,17 @@ "creation_date": "########", "default_version_id": "##id-1##", "last_modification_date": "########", - "policy_id": "##id-4##", - "policy_name": "terraform-policy-2", - "policy_orn": "orn:ows:idauth::339215505907:policy/terraform2/terraform-policy-2" + "policy_id": "##id-2##", + "policy_name": "terraform-policy-1", + "policy_orn": "orn:ows:idauth::339215505907:policy/terraform-policy-1" }, { "creation_date": "########", "default_version_id": "##id-1##", "last_modification_date": "########", - "policy_id": "##id-2##", - "policy_name": "terraform-policy-1", - "policy_orn": "orn:ows:idauth::339215505907:policy/terraform-policy-1" + "policy_id": "##id-4##", + "policy_name": "terraform-policy-2", + "policy_orn": "orn:ows:idauth::339215505907:policy/terraform2/terraform-policy-2" } ], "user": [