diff --git a/pkg/config/defaults.zip b/pkg/config/defaults.zip index c5150469..1f8c0e03 100644 Binary files a/pkg/config/defaults.zip and b/pkg/config/defaults.zip differ diff --git a/pkg/config/defaults_iaas.yaml b/pkg/config/defaults_iaas.yaml index ae848b07..d21db14b 100644 --- a/pkg/config/defaults_iaas.yaml +++ b/pkg/config/defaults_iaas.yaml @@ -1146,7 +1146,7 @@ entities: - title: Name content: .Tags[] | select(.Key == "Name").Value - title: State - content: .State + content: .State.Name primary: NetPeeringId nic: columns: diff --git a/pkg/config/generate/iaas/defaults.yaml b/pkg/config/generate/iaas/defaults.yaml index 85440de4..5f312831 100644 --- a/pkg/config/generate/iaas/defaults.yaml +++ b/pkg/config/generate/iaas/defaults.yaml @@ -154,6 +154,15 @@ entities: content: .ServiceName - title: IP Ranges content: .IpRanges + netpeering: + columns: + - title: ID + content: .NetPeeringId + - title: Name + content: .Tags[] | select(.Key == "Name").Value + - title: State + content: .State.Name + primary: NetPeeringId policy: no_aliases: true columns: diff --git a/pkg/output/format/table.go b/pkg/output/format/table.go index 6b087a89..0d1591a5 100644 --- a/pkg/output/format/table.go +++ b/pkg/output/format/table.go @@ -33,17 +33,19 @@ var colors = map[string]map[string]lipgloss.Style{ "attached": style.Green, "in-use": style.Green, "allocated": style.Green, - - "creating": style.Yellow, - "pending": style.Yellow, - "stopping": style.Yellow, - "stopped": style.Yellow, - "INACTIVE": style.Yellow, - "disabled": style.Yellow, - "confirming": style.Yellow, - "attaching": style.Yellow, - "detaching": style.Yellow, - "shutting-down": style.Yellow, + "active": style.Green, + + "creating": style.Yellow, + "pending": style.Yellow, + "stopping": style.Yellow, + "stopped": style.Yellow, + "INACTIVE": style.Yellow, + "disabled": style.Yellow, + "confirming": style.Yellow, + "attaching": style.Yellow, + "detaching": style.Yellow, + "shutting-down": style.Yellow, + "pending-acceptance": style.Yellow, "deleting": style.Red, "deleted": style.Red,