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