Pulumi Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
Credentials are cached locally and can be viewed with <code>~/.pulumi/credentials.json</code>.
Credentials are cached locally and can be viewed with <code>~/.pulumi/credentials.json</code>.
=Info=
=Info=
Identity, backend, groups, etc.
Dumps identity, backend [[Pulumi_Concepts#Name|name]] and [[Pulumi_Concepts#URL|URL]], Open Directory groups, etc.
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
pulumi whoami --verbose
pulumi whoami --verbose
Line 23: Line 23:
pulumi org get <org-name>  
pulumi org get <org-name>  
</syntaxhighlight>
</syntaxhighlight>
=Stack Operations=
=Stack Operations=
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
pulumi stack select
pulumi stack select
</syntaxhighlight>
</syntaxhighlight>

Revision as of 18:44, 6 January 2022

Internal

Logout

pulumi logout

Login

pulumi login

Credentials are cached locally and can be viewed with ~/.pulumi/credentials.json.

Info

Dumps identity, backend name and URL, Open Directory groups, etc.

pulumi whoami --verbose

This reads ~/.pulumi/credentials.json.

Organization Info

pulumi org ls
pulumi org get <org-name>

Stack Operations

pulumi stack select