Skip to main content

Pulumi

Whatโ€‹

Display the currently active pulumi logged-in user, url and stack.

caution

This requires a pulumi binary in your PATH and will only show in directories that contain a Pulumi.yaml file.

Sample Configurationโ€‹

{
"type": "pulumi",
"style": "diamond",
"powerline_symbol": "๎ƒ",
"foreground": "#ffffff",
"background": "#662d91",
"template": "{{ .Stack }}{{if .User }} :: {{ .User }}@{{ end }}{{ if .URL }}{{ .URL }}{{ end }}"
}

Propertiesโ€‹

NameTypeDefaultDescription
fetch_stackbooleanfalsefetch the current stack name
fetch_aboutbooleanfalsefetch the URL and user for the current stask. Requires fetch_stack set to true

Template (info)โ€‹

default template
{{ .Stack }}{{if .User }} :: {{ .User }}@{{ end }}{{ if .URL }}{{ .URL }}{{ end }}

Propertiesโ€‹

NameTypeDescription
.Stackstringthe current stack name
.Userstringis the current logged in user
.Urlstringthe URL of the state where pulumi stores resources