Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate legacy DBaaS resources #1707

Merged
merged 2 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update docs
  • Loading branch information
lgarber-akamai committed Jan 8, 2025
commit 1348722d6ed1460ad83c601f2e683ed51b0eca57
2 changes: 2 additions & 0 deletions docs/data-sources/database_backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ description: |-

# Data Source: linode\_database\_backups

~> **DEPRECATION NOTICE:** This data source has been deprecated.

Provides information about Linode Database Backups that match a set of filters.
For more information, see the Linode APIv4 docs for [MySQL](https://techdocs.akamai.com/linode-api/reference/get-databases-mysql-instance-backups) and [PostgreSQL](https://techdocs.akamai.com/linode-api/reference/get-databases-postgre-sql-instance-backups).

Expand Down
2 changes: 2 additions & 0 deletions docs/data-sources/database_mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ description: |-

# Data Source: linode\_database\_mysql

~> **DEPRECATION NOTICE:** This data source has been deprecated. Please use [linode_database_mysql_v2](database_mysql_v2.html.markdown) for all future implementations.

Provides information about a Linode MySQL Database.
For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-databases-instances).

Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/database_mysql_backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ description: |-

# Data Source: linode\_database\_mysql\_backups

~> **DEPRECATION NOTICE:** This data source has been deprecated.

Provides information about Linode MySQL Database Backups that match a set of filters.
For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-databases-mysql-instance-backups).

~> **NOTICE:** This data source has been deprecated in favor of `linode_database_backups`.

## Example Usage

Get information about all backups for a MySQL database:
Expand Down
2 changes: 2 additions & 0 deletions docs/data-sources/database_postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ description: |-

# Data Source: linode\_database\_postgresql

~> **DEPRECATION NOTICE:** This data source has been deprecated. Please use [linode_database_postgresql_v2](database_postgresql_v2.html.markdown) for all future implementations.

Provides information about a Linode PostgreSQL Database.
For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-databases-postgre-sql-instance-backups).

Expand Down
2 changes: 2 additions & 0 deletions docs/resources/database_mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ description: |-

# linode\_database\_mysql

~> **DEPRECATION NOTICE:** This resource has been deprecated. Please use [linode_database_mysql_v2](database_mysql_v2.html.markdown) for all future implementations.

Provides a Linode MySQL Database resource. This can be used to create, modify, and delete Linode MySQL Databases.
For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-databases-instances).

Expand Down
2 changes: 2 additions & 0 deletions docs/resources/database_postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ description: |-

# linode\_database\_postgresql

~> **DEPRECATION NOTICE:** This resource has been deprecated. Please use [linode_database_postgresql_v2](database_postgresql_v2.html.markdown) for all future implementations.

Provides a Linode PostgreSQL Database resource. This can be used to create, modify, and delete Linode PostgreSQL Databases.
For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/post-databases-postgre-sql-instances).

Expand Down
2 changes: 1 addition & 1 deletion linode/databasebackups/framework_datasource_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var backupSchema = schema.NestedBlockObject{
}

var frameworkDataSourceSchema = schema.Schema{
DeprecationMessage: "This resource has been deprecated.",
DeprecationMessage: "This data source has been deprecated.",
Attributes: map[string]schema.Attribute{
"database_id": schema.Int64Attribute{
Description: "The ID of the Managed Database.",
Expand Down
2 changes: 1 addition & 1 deletion linode/databasemysql/framework_datasource_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

var frameworkDatasourceSchema = schema.Schema{
DeprecationMessage: "This resource has been deprecated. " +
DeprecationMessage: "This data source has been deprecated. " +
"Please use linode_database_mysql_v2 for all future implementations.",
Attributes: map[string]schema.Attribute{
"database_id": schema.Int64Attribute{
Expand Down
2 changes: 1 addition & 1 deletion linode/databasemysqlbackups/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

func DataSource() *schema.Resource {
return &schema.Resource{
DeprecationMessage: "This resource has been deprecated.",
DeprecationMessage: "This data source has been deprecated.",
Schema: dataSourceSchema,
ReadContext: readDataSource,
}
Expand Down
2 changes: 1 addition & 1 deletion linode/databasepostgresql/framework_datasource_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

var frameworkDatasourceSchema = schema.Schema{
DeprecationMessage: "This resource has been deprecated. " +
DeprecationMessage: "This data source has been deprecated. " +
"Please use linode_database_postgresql_v2 for all future implementations.",
Attributes: map[string]schema.Attribute{
"database_id": schema.Int64Attribute{
Expand Down
Loading