Skip to content

Commit b1545d4

Browse files
authored
Merge pull request #1133 from ovh/typos_doc_examples
doc: fix typos in {data,re}sources declarations
2 parents d7a35e9 + 4afbd12 commit b1545d4

23 files changed

+65
-65
lines changed

docs/data-sources/cloud_project_containerregistry_ip_restrictions_management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use this data source to get the list of Management IP Restrictions of a containe
99
## Example Usage
1010

1111
```terraform
12-
data data "ovh_cloud_project_containerregistry_ip_restrictions_management" "mgt_iprestrictions_data" {
12+
data "ovh_cloud_project_containerregistry_ip_restrictions_management" "mgt_iprestrictions_data" {
1313
service_name = "XXXXXX"
1414
registry_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"
1515
}

docs/data-sources/cloud_project_containerregistry_ip_restrictions_registry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use this data source to get the list of Registry IP Restrictions of a container
99
## Example Usage
1010

1111
```terraform
12-
data data "ovh_cloud_project_containerregistry_ip_restrictions_registry" "my_iprestrictions_data" {
12+
data "ovh_cloud_project_containerregistry_ip_restrictions_registry" "my_iprestrictions_data" {
1313
service_name = "XXXXXX"
1414
registry_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"
1515
}

docs/data-sources/iploadbalancing_vrack_network.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use this data source to get the details of Vrack network available for your IPLo
99
## Example Usage
1010

1111
```terraform
12-
data ovh_iploadbalancing_vrack_network "lb_network" {
12+
data "ovh_iploadbalancing_vrack_network" "lb_network" {
1313
service_name = "XXXXXX"
1414
vrack_network_id = "yyy"
1515
}

docs/data-sources/iploadbalancing_vrack_networks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use this data source to get the list of Vrack network ids available for your IPL
99
## Example Usage
1010

1111
```terraform
12-
data ovh_iploadbalancing_vrack_networks "lb_networks" {
12+
data "ovh_iploadbalancing_vrack_networks" "lb_networks" {
1313
service_name = "XXXXXX"
1414
subnet = "10.0.0.0/24"
1515
}

docs/data-sources/okms_credential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use this data source to retrieve data associated with a KMS credential, such as
99
## Example Usage
1010

1111
```terraform
12-
data "ovh_okms_resource" "kms" {
12+
data "ovh_okms_credential" "kms" {
1313
okms_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1414
id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1515
}

docs/data-sources/okms_service_key_pem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use this data source to retrieve information about a KMS service key, in the PEM
99
## Example Usage
1010

1111
```terraform
12-
data "ovh_okms_service_pem" "key_info" {
12+
data "ovh_okms_service_key_pem" "key_info" {
1313
okms_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1414
id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
1515
}

docs/data-sources/vracks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use this data source to get the list of Vrack IDs available for your OVHcloud ac
99
## Example Usage
1010

1111
```terraform
12-
data ovh_vracks vracks {}
12+
data "ovh_vracks" "vracks" {}
1313
```
1414

1515
## Argument Reference

docs/resources/iploadbalancing_vrack_network.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Manage a vrack network for your IP Loadbalancing service.
99
## Example Usage
1010

1111
```terraform
12-
data ovh_iploadbalancing "iplb" {
12+
data "ovh_iploadbalancing" "iplb" {
1313
service_name = "loadbalancer-xxxxxxxxxxxxxxxxxx"
1414
}
1515
@@ -18,7 +18,7 @@ resource "ovh_vrack_iploadbalancing" "vip_lb" {
1818
ip_loadbalancing = data.ovh_iploadbalancing.iplb.service_name
1919
}
2020
21-
resource ovh_iploadbalancing_vrack_network "network" {
21+
resource "ovh_iploadbalancing_vrack_network" "network" {
2222
service_name = ovh_vrack_iploadbalancing.vip_lb.ip_loadbalancing
2323
subnet = "10.0.0.0/16"
2424
vlan = 1

examples/data-sources/cloud_project_containerregistry_ip_restrictions_management/example_1.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
data data "ovh_cloud_project_containerregistry_ip_restrictions_management" "mgt_iprestrictions_data" {
1+
data "ovh_cloud_project_containerregistry_ip_restrictions_management" "mgt_iprestrictions_data" {
22
service_name = "XXXXXX"
33
registry_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"
44
}

examples/data-sources/cloud_project_containerregistry_ip_restrictions_registry/example_1.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
data data "ovh_cloud_project_containerregistry_ip_restrictions_registry" "my_iprestrictions_data" {
1+
data "ovh_cloud_project_containerregistry_ip_restrictions_registry" "my_iprestrictions_data" {
22
service_name = "XXXXXX"
33
registry_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"
44
}

0 commit comments

Comments
 (0)