Pulumi Operations: Difference between revisions
Jump to navigation
Jump to search
(→Info) |
|||
Line 27: | Line 27: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
pulumi stack select | pulumi stack select | ||
</syntaxhighlight> | |||
=Project Operations= | |||
==New Project== | |||
Create a new [[Pulumi_Concepts#Project|project]] and [[Pulumi_Concepts#Stack|stack]] from [[Pulumi_Concepts#Stack|template]]. | |||
<syntaxhighlight lang='bash'> | |||
pulumi new | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 20:44, 7 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
Project Operations
New Project
Create a new project and stack from template.
pulumi new