Pulumi Operations: Difference between revisions
Jump to navigation
Jump to search
(→Login) |
|||
Line 9: | Line 9: | ||
=Login= | =Login= | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
pulumi login | pulumi login [--cloud-url https://something.example.com] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
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= | ||
Dumps identity, backend [[Pulumi_Concepts#Name|name]] and [[Pulumi_Concepts#URL|URL]], Open Directory groups, etc. | Dumps identity, backend [[Pulumi_Concepts#Name|name]] and [[Pulumi_Concepts#URL|URL]], Open Directory groups, etc. |
Revision as of 03:56, 8 January 2022
External
Internal
Logout
pulumi logout
Login
pulumi login [--cloud-url https://something.example.com]
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
Plugin Operations
List
pulumi plugin ls
Apply Infrastructure
pulumi up