Skip to content

Commit

Permalink
fix hcl: replace < and > with " in hcl examples (#728)
Browse files Browse the repository at this point in the history
* fix: replace < and > with " in hcl examples

* fix: replace \_ with _
  • Loading branch information
cristiGuranIonos authored Dec 18, 2024
1 parent a789153 commit 0ab8f6d
Show file tree
Hide file tree
Showing 123 changed files with 275 additions and 270 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 6.6.9
### Docs
- Replace < and > with " in the docs
- Remove { and } from terraform imports
- Replace \_ with _ in resource names
## 6.6.8
### Features
- Add `auto_scaling` attribute to `ionoscloud_dataplatform_node_pool` resource.
Expand Down Expand Up @@ -511,7 +516,7 @@ Please contact your sales representative or support for more information.
- Defining a separate firewall rule for server should not set firewall_id inside server resource, as it moves the firewall resource inside the server on re-apply
- Fixes creating share resource edit and share privileges mix up
- `viable_node_pool_versions` in k8s cluster is no longer optional, is only computed
- Allow server import with nic and firewallId : `terraform import ionoscloud_server.myserver {datacenter uuid}/{server uuid}/{primary nic id}/{firewall rule id}`
- Allow server import with nic and firewallId : `terraform import ionoscloud_server.myserver datacenter uuid/server uuid/primary nic id/firewall rule id`
- Mongo tests update mongo version
- Change the way in which we set the NIC data
- Allow server import with nic and firewall ids
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/apigateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ When this happens, please refine your search string so that it is specific enoug

```
data "ionoscloud_apigateway" "example" {
id = <your_apigateway_id>
id = "your_apigateway_id"
}
```

Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/apigateway_route.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ When this happens, please refine your search string so that it is specific enoug

```hcl
data "ionoscloud_apigateway_route" "example" {
id = <your_apigateway_route_id>
gateway_id = <your_gateway_id>
id = "your_apigateway_route_id"
gateway_id = "your_gateway_id"
}
```

Expand All @@ -33,7 +33,7 @@ this data source is called.
```hcl
data "ionoscloud_apigateway_route" "example" {
name = "apigateway-route"
gateway_id = <your_gateway_id>
gateway_id = "your_gateway_id"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/application_loadbalancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ When this happens, please refine your search and make sure that your resources h
```hcl
data "ionoscloud_application_loadbalancer" "example" {
datacenter_id = ionoscloud_datacenter.example.id
id = <alb_id>
id = "alb_id"
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ When this happens, please refine your search and make sure that your resources h
data "ionoscloud_application_loadbalancer_forwardingrule" "example" {
datacenter_id = ionoscloud_datacenter.example.id
application_loadbalancer_id = ionoscloud_application_loadbalancer.example.id
id = <alb_fwr_id>
id = "alb_fwr_id"
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/autoscaling_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get information on a IonosCloud Autoscaling Group
---

# ionoscloud\_autoscaling_group
# ionoscloud_autoscaling_group

The autoscaling group data source can be used to search for and return an existing Autoscaling Group. You can provide a string for the name or id parameters which will be compared with provisioned Autoscaling Groups. If a single match is found, it will be returned.

Expand All @@ -16,7 +16,7 @@ The autoscaling group data source can be used to search for and return an existi
### By Id
```hcl
data "ionoscloud_autoscaling_group" "autoscaling_group" {
id = <autoscaling_group_uuid>
id = "autoscaling_group_uuid"
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/autoscaling_group_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ description: |-
Get information on servers generated as part of the autoscaling group.
---

# ionoscloud\_autoscaling_group_servers
# ionoscloud_autoscaling_group_servers

The autoscaling group servers data source can be used to search for and return existing servers that are part of a specific autoscaling group.

## Example Usage

```hcl
data "ionoscloud_autoscaling_group_servers" "autoscaling_group_servers" {
group_id = <autoscaling_group_uuid>
group_id = "autoscaling_group_uuid"
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/backup_unit.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get Information on a IonosCloud Backup Unit
---

# ionoscloud\_backup_unit
# ionoscloud_backup_unit

The **Backup Unit data source** can be used to search for and return an existing Backup Unit.
You can provide a string for either id or name parameters which will be compared with provisioned Backup Units.
Expand All @@ -19,7 +19,7 @@ When this happens, please refine your search string so that it is specific enoug
### By ID
```hcl
data "ionoscloud_backup_unit" "example" {
id = <backup_unit_id>
id = "backup_unit_id"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/cdn_distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ When this happens, please refine your search and make sure that your resources h
### By Id
```hcl
data "ionoscloud_cdn_distribution" "example" {
id = <distr_id>
id = "distr_id"
}
```

Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/certificate_manager_auto_certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ When this happens, please refine your search string so that it is specific enoug
### By ID
```hcl
data "ionoscloud_auto_certificate" "example" {
id = <auto_certificate_id>
location = <auto_certificate_location>
id = "auto_certificate_id"
location = "auto_certificate_location"
}
```

### By Name
```hcl
data "ionoscloud_auto_certificate" "example" {
name = "AutoCertificate Name Example"
location = <auto_certificate_location>
location = "auto_certificate_location"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/certificate_manager_certificate.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ When this happens, please refine your search string so that it is specific enoug
### By ID
```hcl
data "ionoscloud_certificate" "example" {
id = <certificate_id>
id = "certificate_id"
}
```

Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/certificate_manager_provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ When this happens, please refine your search string so that it is specific enoug
### By ID
```hcl
data "ionoscloud_auto_certificate_provider" "example" {
id = <provider_id>
location = <provider_location>
id = "provider_id"
location = "provider_location"
}
```

### By Name
```hcl
data "ionoscloud_auto_certificate_provider" "example" {
name = "Provider Name Example"
location = <provider_location>
location = "provider_location"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/container_registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ When this happens, please refine your search and make sure that your resources h
### By Id
```hcl
data "ionoscloud_container_registry" "example" {
id = <registry_id>
id = "registry_id"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/container_registry_token.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ When this happens, please refine your search and make sure that your resources h
```hcl
data "ionoscloud_container_registry_token" "example" {
registry_id = ionoscloud_container_registry.example.id
id = <token_id>
id = "token_id"
}
```

Expand Down
8 changes: 4 additions & 4 deletions docs/data-sources/cube_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get information on a Ionos Cloud Cube Servers
---

# ionoscloud\_cube\_server
# ionoscloud_cube_server

The **Cube Server data source** can be used to search for and return existing servers.
If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned.
Expand All @@ -18,15 +18,15 @@ When this happens, please refine your search string so that it is specific enoug
### By ID
```hcl
data "ionoscloud_cube_server" "example" {
datacenter_id = <datacenter_id>
id = <server_id>
datacenter_id = "datacenter_id"
id = "server_id"
}
```

### By Name
```hcl
data "ionoscloud_cube_server" "example" {
datacenter_id = <datacenter_id>
datacenter_id = "datacenter_id"
name = "Server Example"
}
```
Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/datacenter.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get information on a IonosCloud Data Centers
---

# ionoscloud\_datacenter
# ionoscloud_datacenter

The **Datacenter data source** can be used to search for and return an existing Virtual Data Center.
You can provide a string for the name and location parameters which will be compared with provisioned Virtual Data Centers.
Expand All @@ -19,7 +19,7 @@ When this happens, please refine your search string so that it is specific enoug
### By ID
```hcl
data "ionoscloud_datacenter" "example" {
id = <datacenter_id>
id = "datacenter_id"
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/dataplatform_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ When this happens, please refine your search and make sure that your resources h
### By ID
```hcl
data "ionoscloud_dataplatform_cluster" "example" {
id = <cluster_id>
id = "cluster_id"
}
```

Expand Down
10 changes: 5 additions & 5 deletions docs/data-sources/dataplatform_node_pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get information on a Dataplatform Node Pool.
---

# ionoscloud\_dataplatform_node_pool
# ionoscloud_dataplatform_node_pool

The **Dataplatform Node Pool Data Source** can be used to search for and return an existing Dataplatform Node Pool under a Dataplatform Cluster.
If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned.
Expand All @@ -18,16 +18,16 @@ When this happens, please refine your search and make sure that your resources h
### By ID
```hcl
data "ionoscloud_dataplatform_node_pool" "example" {
cluster_id = <cluster_id>
id = <node_pool_id>
cluster_id = "cluster_id"
id = "node_pool_id"
}
```

### By Name

```hcl
data "ionoscloud_dataplatform_node_pool" "example" {
cluster_id = <cluster_id>
cluster_id = "cluster_id"
name = "Dataplatform_Node_Pool_Example"
}
```
Expand All @@ -36,7 +36,7 @@ data "ionoscloud_dataplatform_node_pool" "example" {

```hcl
data "ionoscloud_dataplatform_node_pool" "example" {
cluster_id = <cluster_id>
cluster_id = "cluster_id"
name = "_Example"
partial_match = true
}
Expand Down
8 changes: 4 additions & 4 deletions docs/data-sources/dataplatform_node_pools.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get information on a Dataplatform Node Pool list under a Dataplatform Cluster.
---

# ionoscloud\_dataplatform_node_pools
# ionoscloud_dataplatform_node_pools

The **Dataplatform Node Pools Data Source** can be used to search for and return a list of existing Dataplatform Node Pools under a Dataplatform Cluster.

Expand All @@ -16,15 +16,15 @@ The **Dataplatform Node Pools Data Source** can be used to search for and return
### All Node Pools under a Cluster ID
```hcl
data "ionoscloud_dataplatform_node_pools" "example" {
cluster_id = <cluster_id>
cluster_id = "cluster_id"
}
```

### By Name

```hcl
data "ionoscloud_dataplatform_node_pools" "example" {
cluster_id = <cluster_id>
cluster_id = "cluster_id"
name = "Dataplatform_Node_Pool_Example"
}
```
Expand All @@ -33,7 +33,7 @@ data "ionoscloud_dataplatform_node_pools" "example" {

```hcl
data "ionoscloud_dataplatform_node_pools" "example" {
cluster_id = <cluster_id>
cluster_id = "cluster_id"
name = "_Example"
partial_match = true
}
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/dataplatform_versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get information on Managed Dataplatform API versions.
---

# ionoscloud\_dataplatform_versions
# ionoscloud_dataplatform_versions

The **Dataplatform Versions Data Source** can be used to search for and retrieve list of available Managed Dataplatform API versions.

Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/dbaas_mariadb_backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get information on DBaaS MariaDB Backups
---

# ionoscloud\_mariadb_backups
# ionoscloud_mariadb_backups

The **DBaaS MariaDB Backups data source** can be used to search for and return existing DBaaS MariaDB Backups for a specific cluster.

Expand All @@ -16,15 +16,15 @@ The **DBaaS MariaDB Backups data source** can be used to search for and return e
### Get all backups for a specific cluster
```hcl
data "ionoscloud_mariadb_backups" "example" {
cluster_id = <cluster_id>
cluster_id = "cluster_id"
location = "de/txl"
}
```

### Get a specific backup
```hcl
data "ionoscloud_mariadb_backups" "example" {
backup_id = <backup_id>
backup_id = "backup_id"
location = "de/txl"
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/dbaas_mariadb_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The **DBaaS MariaDB Cluster data source** can be used to search for and return a
### By ID
```hcl
data "ionoscloud_mariadb_cluster" "example" {
id = <cluster_id>
id = "cluster_id"
location = "de/txl"
}
```
Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/dbaas_mongo_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
Get information on DbaaS MongoDB Cluster objects.
---

# ionoscloud\_mongo_cluster
# ionoscloud_mongo_cluster

The **DbaaS Mongo Cluster data source** can be used to search for and return an existing DbaaS MongoDB Cluster.
If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned.
Expand All @@ -18,14 +18,14 @@ When this happens, please refine your search string so that it is specific enoug
### By ID
```hcl
data "ionoscloud_mongo_cluster" "example" {
id = <cluster_id>
id = "cluster_id"
}
```
### By display_name

```hcl
data "ionoscloud_mongo_cluster" "example" {
display_name = <display_name>
display_name = "display_name"
}
```

Expand Down
Loading

0 comments on commit 0ab8f6d

Please sign in to comment.