diff --git a/docs/data-sources/cloud_project_database_ip_restrictions.md b/docs/data-sources/cloud_project_database_ip_restrictions.md index 1662e3642..a92aa7639 100644 --- a/docs/data-sources/cloud_project_database_ip_restrictions.md +++ b/docs/data-sources/cloud_project_database_ip_restrictions.md @@ -4,7 +4,9 @@ subcategory : "Managed Databases" # ovh_cloud_project_database_ip_restrictions (Data Source) -Deprecated: Use ip_restrictions field in cloud_project_database datasource instead. +~> **DEPRECATED** Use `ip_restrictions` field in `ovh_cloud_project_database` resource instead. + +~> **NOTE** This resource is only compatible with the following engines: **cassandra, grafana, kafka, kakfaConnect, m3db, mongodb, mysql, opensearch, postgres, redis** Use this data source to get the list of IP restrictions associated with a public cloud project. diff --git a/docs/resources/cloud_project_database.md b/docs/resources/cloud_project_database.md index ccf53796b..37c3f05ca 100644 --- a/docs/resources/cloud_project_database.md +++ b/docs/resources/cloud_project_database.md @@ -269,7 +269,7 @@ The following attributes are exported: * `description` - See Argument Reference above. * `ip` - See Argument Reference above. * `status` - Current status of the IP restriction. -* `deletion_protection` - See Argument Reference above. +* `deletion_protection` - Enable deletion protection * `kafka_rest_api` - See Argument Reference above. * `kafka_schema_registry` - See Argument Reference above. * `maintenance_time` - Time on which maintenances can start every day. diff --git a/docs/resources/cloud_project_database_ip_restriction.md b/docs/resources/cloud_project_database_ip_restriction.md index c349fecb8..9c4f41716 100644 --- a/docs/resources/cloud_project_database_ip_restriction.md +++ b/docs/resources/cloud_project_database_ip_restriction.md @@ -4,7 +4,9 @@ subcategory : "Managed Databases" # ovh_cloud_project_database_ip_restriction -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 +~> **DEPRECATED** Use `ip_restrictions` field in `ovh_cloud_project_database` resource instead. Using the `ovh_cloud_project_database_ip_restriction` resource to add an IP restriction to a `ovh_cloud_project_database` resource will cause its update on each apply + +~> **NOTE** This resource is only compatible with the following engines: **cassandra, grafana, kafka, kakfaConnect, m3db, mongodb, mysql, opensearch, postgres, redis** Apply IP restrictions to an OVHcloud Managed Database cluster. diff --git a/templates/data-sources/cloud_project_database_ip_restrictions.md.tmpl b/templates/data-sources/cloud_project_database_ip_restrictions.md.tmpl index 402b71392..ac9b93747 100644 --- a/templates/data-sources/cloud_project_database_ip_restrictions.md.tmpl +++ b/templates/data-sources/cloud_project_database_ip_restrictions.md.tmpl @@ -8,7 +8,9 @@ For example, the {{ .SchemaMarkdown }} template can be used to replace manual sc # ovh_cloud_project_database_ip_restrictions (Data Source) -Deprecated: Use ip_restrictions field in cloud_project_database datasource instead. +~> **DEPRECATED** Use `ip_restrictions` field in `ovh_cloud_project_database` resource instead. + +~> **NOTE** This resource is only compatible with the following engines: **cassandra, grafana, kafka, kakfaConnect, m3db, mongodb, mysql, opensearch, postgres, redis** Use this data source to get the list of IP restrictions associated with a public cloud project. diff --git a/templates/resources/cloud_project_database_ip_restriction.md.tmpl b/templates/resources/cloud_project_database_ip_restriction.md.tmpl index 9c4aeb049..76b8e79f8 100644 --- a/templates/resources/cloud_project_database_ip_restriction.md.tmpl +++ b/templates/resources/cloud_project_database_ip_restriction.md.tmpl @@ -8,7 +8,9 @@ For example, the {{ .SchemaMarkdown }} template can be used to replace manual sc # ovh_cloud_project_database_ip_restriction -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 +~> **DEPRECATED** Use `ip_restrictions` field in `ovh_cloud_project_database` resource instead. Using the `ovh_cloud_project_database_ip_restriction` resource to add an IP restriction to a `ovh_cloud_project_database` resource will cause its update on each apply + +~> **NOTE** This resource is only compatible with the following engines: **cassandra, grafana, kafka, kakfaConnect, m3db, mongodb, mysql, opensearch, postgres, redis** Apply IP restrictions to an OVHcloud Managed Database cluster.