From 57f37d8b7e79d15491c948d27ba0247f9f9a9500 Mon Sep 17 00:00:00 2001 From: iblindu Date: Wed, 27 Jul 2022 17:03:12 +0300 Subject: [PATCH] fixed datacenter test when running multiple tests in paralel --- docs/resources/k8s_node_pool.md | 12 ++++++------ ionoscloud/resource_datacenter_test.go | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/resources/k8s_node_pool.md b/docs/resources/k8s_node_pool.md index 4db90d786..8076361b1 100644 --- a/docs/resources/k8s_node_pool.md +++ b/docs/resources/k8s_node_pool.md @@ -108,12 +108,12 @@ The following arguments are supported: - `datacenter_id` - (Required)[string] A Datacenter's UUID - `k8s_cluster_id`- (Required)[string] A k8s cluster's UUID - `cpu_family` - (Required)[string] The desired CPU Family - See the API documentation for more information. *This attribute is immutable*. -- `availability_zone` - (Required)[string] - The desired Compute availability zone - See the API documentation for more information. *This attribute is immutable*. -- `storage_type` -(Required)[string] - The desired storage type - SSD/HDD. *This attribute is immutable*. -- `node_count` -(Required)[int] - The desired number of nodes in the node pool -- `cores_count` -(Required)[int] - The CPU cores count for each node of the node pool. *This attribute is immutable*. -- `ram_size` -(Required)[int] - The desired amount of RAM, in MB. *This attribute is immutable*. -- `storage_size` -(Required)[int] - The size of the volume in GB. The size should be greater than 10GB. *This attribute is immutable*. +- `availability_zone` - (Required)[string] The desired Compute availability zone - See the API documentation for more information. *This attribute is immutable*. +- `storage_type` -(Required)[string] The desired storage type - SSD/HDD. *This attribute is immutable*. +- `node_count` -(Required)[int] The desired number of nodes in the node pool +- `cores_count` -(Required)[int] The CPU cores count for each node of the node pool. *This attribute is immutable*. +- `ram_size` -(Required)[int] The desired amount of RAM, in MB. *This attribute is immutable*. +- `storage_size` -(Required)[int] The size of the volume in GB. The size should be greater than 10GB. *This attribute is immutable*. - `public_ips` - (Optional)[list] A list of public IPs associated with the node pool; must have at least `node_count + 1` elements - `labels` - (Optional)[map] A key/value map of labels - `annotations` - (Optional)[map] A key/value map of annotations diff --git a/ionoscloud/resource_datacenter_test.go b/ionoscloud/resource_datacenter_test.go index 2615a488d..1b57a681c 100644 --- a/ionoscloud/resource_datacenter_test.go +++ b/ionoscloud/resource_datacenter_test.go @@ -195,7 +195,7 @@ data ` + DatacenterResource + ` ` + DatacenterDataSourceByName + ` { const testAccDataSourceDatacenterPartialMatchName = testAccCheckDatacenterConfigBasic + ` data ` + DatacenterResource + ` ` + DatacenterDataSourceByName + ` { - name = "` + DataSourcePartial + `" + name = "test_data" partial_match = true }`