Pulumi Operations: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 53: | Line 53: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
pulumi new | pulumi new | ||
</syntaxhighlight> | |||
=Apply Infrastructure= | |||
<syntaxhighlight lang='bash'> | |||
pulumi up | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 22:22, 7 January 2022
External
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
List Stacks
Display the list associated with the current project.
pulumi stack ls
Select a Stack
pulumi stack select
Display Stack Resources
pulumi stack
Display Stack Tags
pulumi stack tag ls
Project Operations
New Project
Create a new project and stack from template.
pulumi new
Apply Infrastructure
pulumi up