From 7c6f62d40aa929355f9e47702265a07244c68c5a Mon Sep 17 00:00:00 2001 From: Radu-Ionut Mocanu Date: Wed, 5 Feb 2025 12:41:49 +0200 Subject: [PATCH] docs: small fixes (#750) --- docs/data-sources/dbaas_mongo_user.md | 4 ++-- docs/data-sources/ipfailover.md | 4 ++-- docs/data-sources/share.md | 5 +---- docs/data-sources/vpn_ipsec_tunnel.md | 2 +- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/data-sources/dbaas_mongo_user.md b/docs/data-sources/dbaas_mongo_user.md index f575621e1..3097f1372 100644 --- a/docs/data-sources/dbaas_mongo_user.md +++ b/docs/data-sources/dbaas_mongo_user.md @@ -15,11 +15,11 @@ When this happens, please refine your search string so that it is specific enoug ## Example Usage -### By display_name +### By username ```hcl data "ionoscloud_mongo_user" "example" { cluster_id = "cluster_id" - display_name = "display_name" + username = "username" } ``` diff --git a/docs/data-sources/ipfailover.md b/docs/data-sources/ipfailover.md index 428dc9519..26f93603f 100644 --- a/docs/data-sources/ipfailover.md +++ b/docs/data-sources/ipfailover.md @@ -18,7 +18,7 @@ If a single match is found, it will be returned. If your search results in multi ```hcl data "ionoscloud_ipfailover" "example" { datacenter_id = "datacenter_id" - id = "lan_id" + lan_id = "lan_id" } ``` @@ -27,7 +27,7 @@ data "ionoscloud_ipfailover" "example" { The following arguments are supported: * `datacenter_id` - (Required) The ID of the datacenter containing the ip failover datasource -* `id` - (Required) The id of the lan of which the IP failover belongs +* `lan_id` - (Required) The id of the lan of which the IP failover belongs ## Attributes Reference diff --git a/docs/data-sources/share.md b/docs/data-sources/share.md index 5c513fe85..5a66f3857 100644 --- a/docs/data-sources/share.md +++ b/docs/data-sources/share.md @@ -20,7 +20,6 @@ When this happens, please refine your search string so that it is specific enoug data "ionoscloud_share" "example" { group_id = "group_id" resource_id = "resource_id" - id = "share_id" } ``` @@ -30,10 +29,8 @@ The following arguments are supported: * `group_id` - (Required)The ID of the specific group containing the resource to update. * `resource_id` - (Required)The ID of the specific resource to update. -* `id` - (Required)The uuid of the share object - -`id`, `resource_id` and `group_id` must be provided. If any of them are missing, the datasource will return an error. +`resource_id` and `group_id` must be provided. If any of them are missing, the datasource will return an error. ## Attributes Reference diff --git a/docs/data-sources/vpn_ipsec_tunnel.md b/docs/data-sources/vpn_ipsec_tunnel.md index 4d3299b24..cf5c8ab81 100644 --- a/docs/data-sources/vpn_ipsec_tunnel.md +++ b/docs/data-sources/vpn_ipsec_tunnel.md @@ -32,7 +32,7 @@ Needs to have the resource be previously created, or a depends_on clause to ensu this data source is called. ```hcl -data "ionoscloud_vpn_ipsec_gateway" "example" { +data "ionoscloud_vpn_ipsec_tunnel" "example" { name = "ipsec-tunnel" gateway_id = "gateway_id" location = "gateway_location"