From b0df3540c766edc95741c9e78a44516a71ce1e54 Mon Sep 17 00:00:00 2001 From: Rodion Gyrbu Date: Thu, 10 Jun 2021 15:49:38 +0300 Subject: [PATCH] Update doc with new param --- docs/resources/cce_node_v3.md | 5 +++-- .../cce/resource_opentelekomcloud_cce_node_v3_test.go | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/resources/cce_node_v3.md b/docs/resources/cce_node_v3.md index 53bb4b31c..96963cdc2 100644 --- a/docs/resources/cce_node_v3.md +++ b/docs/resources/cce_node_v3.md @@ -67,7 +67,7 @@ The following arguments are supported: * `eip_ids` - (Optional) List of existing elastic IP IDs. --> **Note:** If the `eip_ids` parameter is configured, you do not need to configure the `eip_count` and `bandwidth` parameters: +-> If the `eip_ids` parameter is configured, you do not need to configure the `eip_count` and `bandwidth` parameters: `iptype`, `bandwidth_charge_mode`, `bandwidth_size` and `share_type`. * `eip_count` - (Optional) Number of elastic IPs to be dynamically created. @@ -76,7 +76,7 @@ The following arguments are supported: * `bandwidth_size` - (Optional) Bandwidth size. --> **Note:** If the `bandwidth_size` parameter is configured, you do not need to configure the +-> If the `bandwidth_size` parameter is configured, you do not need to configure the `eip_count`, `bandwidth_charge_mode`, `sharetype` and `iptype` parameters. * `bandwidth_charge_mode` - (Optional) Bandwidth billing type. @@ -113,6 +113,7 @@ The following arguments are supported: * `size` - (Required) Disk size in GB. * `volumetype` - (Required) Disk type. * `extend_param` - (Optional) Disk expansion parameters. + * `kms_id` - (Optional) The Encryption KMS ID of the data volume. ## Attributes Reference diff --git a/opentelekomcloud/acceptance/cce/resource_opentelekomcloud_cce_node_v3_test.go b/opentelekomcloud/acceptance/cce/resource_opentelekomcloud_cce_node_v3_test.go index f1f836155..7780c28d1 100644 --- a/opentelekomcloud/acceptance/cce/resource_opentelekomcloud_cce_node_v3_test.go +++ b/opentelekomcloud/acceptance/cce/resource_opentelekomcloud_cce_node_v3_test.go @@ -699,7 +699,7 @@ resource "opentelekomcloud_cce_node_v3" "node_1" { testAccCCENodeV3EncryptedVolume = fmt.Sprintf(` resource "opentelekomcloud_cce_cluster_v3" "cluster_1" { - name = "opentelekomcloud-cce-ids" + name = "opentelekomcloud-cce-encryption" cluster_type = "VirtualMachine" flavor_id = "cce.s1.small" vpc_id = "%s"