Saltar al contenido principal

Pulumi

Traducción Beta No Oficial

Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →

Qué hace

Muestra el usuario con sesión iniciada, la URL y la pila activos actualmente de Pulumi.

precaución

Requieres tener el binario de pulumi en tu PATH y solo aparecerá en directorios que contengan un archivo Pulumi.yaml.

Configuración de ejemplo

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

Opciones

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

Plantilla (info)

plantilla predeterminada
\ue873 {{ .Stack }}{{if .User }} :: {{ .User }}@{{ end }}{{ if .URL }}{{ .URL }}{{ end }}

Propiedades

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