Skip to content

Commit bc2708c

Browse files
committed
chore: documentation: clarify cloud_project_database_ip_restriction
usage Fixes #1124 Signed-off-by: Romain Beuque <[email protected]>
1 parent 530168a commit bc2708c

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

docs/data-sources/cloud_project_database_ip_restrictions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ subcategory : "Managed Databases"
44

55
# ovh_cloud_project_database_ip_restrictions (Data Source)
66

7-
Deprecated: Use ip_restrictions field in cloud_project_database datasource instead.
7+
~> **DEPRECATED** Use `ip_restrictions` field in `ovh_cloud_project_database` resource instead.
8+
9+
~> **NOTE** This resource is only compatible with the following engines: **cassandra, grafana, kafka, kakfaConnect, m3db, mongodb, mysql, opensearch, postgres, redis**
810

911
Use this data source to get the list of IP restrictions associated with a public cloud project.
1012

docs/resources/cloud_project_database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ The following attributes are exported:
269269
* `description` - See Argument Reference above.
270270
* `ip` - See Argument Reference above.
271271
* `status` - Current status of the IP restriction.
272-
* `deletion_protection` - See Argument Reference above.
272+
* `deletion_protection` - Enable deletion protection
273273
* `kafka_rest_api` - See Argument Reference above.
274274
* `kafka_schema_registry` - See Argument Reference above.
275275
* `maintenance_time` - Time on which maintenances can start every day.

docs/resources/cloud_project_database_ip_restriction.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ subcategory : "Managed Databases"
44

55
# ovh_cloud_project_database_ip_restriction
66

7-
Deprecated: Use ip_restriction field in cloud_project_database resource instead. Continuing to use the ovh_cloud_project_database_ip_restriction resource to add an IP restriction to a cloud_project_database resource will cause the cloud_project_database resource to be updated on every apply
7+
~> **DEPRECATED** Use `ip_restrictions` field in `ovh_cloud_project_database` resource instead. Continuing to use the `ovh_cloud_project_database_ip_restriction` resource to add an IP restriction to a `ovh_cloud_project_database` resource will cause the `ovh_cloud_project_database` resource to be updated on every apply
8+
9+
~> **NOTE** This resource is only compatible with the following engines: **cassandra, grafana, kafka, kakfaConnect, m3db, mongodb, mysql, opensearch, postgres, redis**
810

911
Apply IP restrictions to an OVHcloud Managed Database cluster.
1012

templates/data-sources/cloud_project_database_ip_restrictions.md.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ For example, the {{ .SchemaMarkdown }} template can be used to replace manual sc
88

99
# ovh_cloud_project_database_ip_restrictions (Data Source)
1010

11-
Deprecated: Use ip_restrictions field in cloud_project_database datasource instead.
11+
~> **DEPRECATED** Use `ip_restrictions` field in `ovh_cloud_project_database` resource instead.
12+
13+
~> **NOTE** This resource is only compatible with the following engines: **cassandra, grafana, kafka, kakfaConnect, m3db, mongodb, mysql, opensearch, postgres, redis**
1214

1315
Use this data source to get the list of IP restrictions associated with a public cloud project.
1416

templates/resources/cloud_project_database_ip_restriction.md.tmpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ For example, the {{ .SchemaMarkdown }} template can be used to replace manual sc
88

99
# ovh_cloud_project_database_ip_restriction
1010

11-
Deprecated: Use ip_restriction field in cloud_project_database resource instead. Continuing to use the ovh_cloud_project_database_ip_restriction resource to add an IP restriction to a cloud_project_database resource will cause the cloud_project_database resource to be updated on every apply
11+
~> **DEPRECATED** Use `ip_restrictions` field in `ovh_cloud_project_database` resource instead. Continuing to use the `ovh_cloud_project_database_ip_restriction` resource to add an IP restriction to a `ovh_cloud_project_database` resource will cause the `ovh_cloud_project_database` resource to be updated on every apply
12+
13+
~> **NOTE** This resource is only compatible with the following engines: **cassandra, grafana, kafka, kakfaConnect, m3db, mongodb, mysql, opensearch, postgres, redis**
1214

1315
Apply IP restrictions to an OVHcloud Managed Database cluster.
1416

0 commit comments

Comments
 (0)