Skip to main content

AWS Context

What

Display the currently active AWS profile and region.

Sample Configuration

{
"type": "aws",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#FFA400",
"template": "  {{.Profile}}{{if .Region}}@{{.Region}}{{end}}"
}

Properties

NameTypeDefaultDescription
display_defaultbooleantruedisplay the segment when default user or not

Template (info)

default template
{{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }}

Properties

NameTypeDescription
.Profilestringthe currently active profile
.Regionstringthe currently active region