Skip to content

Commit

Permalink
feat: add labels and tags columns to `gcp_compute_global_forwardi…
Browse files Browse the repository at this point in the history
…ng_rule` table (#678)
  • Loading branch information
pdecat authored Oct 29, 2024
1 parent 33cf0a6 commit db459c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gcp/table_gcp_compute_global_forwarding_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,19 @@ func tableGcpComputeGlobalForwardingRule(ctx context.Context) *plugin.Table {
Description: "A list of ports can be configured.",
Type: proto.ColumnType_JSON,
},
{
Name: "labels",
Description: "A list of labels attached to this resource.",
Type: proto.ColumnType_JSON,
},

// standard steampipe columns
{
Name: "tags",
Description: ColumnDescriptionTags,
Type: proto.ColumnType_JSON,
Transform: transform.FromField("Labels"),
},
{
Name: "title",
Description: ColumnDescriptionTitle,
Expand Down

0 comments on commit db459c9

Please sign in to comment.