Skip to content

Commit

Permalink
docs: small fixes (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmocanu-ionos authored Feb 5, 2025
1 parent 1ca4b0a commit 7c6f62d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/data-sources/dbaas_mongo_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/ipfailover.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand All @@ -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
Expand Down
5 changes: 1 addition & 4 deletions docs/data-sources/share.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/vpn_ipsec_tunnel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7c6f62d

Please sign in to comment.