Skip to content

Commit

Permalink
feat: add database_installed_version and maintenance_version columns …
Browse files Browse the repository at this point in the history
…to gcp_sql_database_instance (#677)
  • Loading branch information
pdecat authored Oct 29, 2024
1 parent 50d4c0a commit 33cf0a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gcp/table_gcp_sql_database_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ func tableGcpSQLDatabaseInstance(ctx context.Context) *plugin.Table {
Description: "The time when the instance was created.",
Type: proto.ColumnType_TIMESTAMP,
},
{
Name: "database_installed_version",
Description: "Specifies the current database version running on the instance including minor version such as MYSQL_8_0_18.",
Type: proto.ColumnType_STRING,
},
{
Name: "database_version",
Description: "Specifies the type and version of the database engine.",
Expand Down Expand Up @@ -262,6 +267,11 @@ func tableGcpSQLDatabaseInstance(ctx context.Context) *plugin.Table {
Type: proto.ColumnType_TIMESTAMP,
Transform: transform.FromField("ScheduledMaintenance.StartTime"),
},
{
Name: "maintenance_version",
Description: "The current software version on the instance.",
Type: proto.ColumnType_STRING,
},
{
Name: "authorized_gae_applications",
Description: "A list of App Engine app IDs, that can access this instance.",
Expand Down

0 comments on commit 33cf0a6

Please sign in to comment.