Pulumi Operations: Difference between revisions
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
=Stack Operations= | =Stack Operations= | ||
{{Internal|Pulumi_Concepts#Stack|Pulumi Stacks}} | |||
==List Stacks== | ==List Stacks== | ||
Display the list associated with the [[Pulumi_Concepts#Current_Project|current project]]. | Display the list associated with the [[Pulumi_Concepts#Current_Project|current project]]. |
Revision as of 20:56, 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
List Stacks
Display the list associated with the current project.
pulumi stack ls
Select a Stack
pulumi stack select
Display Stack Resources
pulumi stack
Project Operations
New Project
Create a new project and stack from template.
pulumi new