Pulumi Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=External=
* https://www.pulumi.com/docs/reference/cli/
=Internal=
=Internal=
* [[Pulumi#Subjects|Pulumi]]
* [[Pulumi#Subjects|Pulumi]]

Revision as of 22:20, 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

Pulumi Stacks

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

https://www.pulumi.com/docs/reference/cli/pulumi_stack_tag_ls/
pulumi stack tag ls

Project Operations

New Project

Create a new project and stack from template.

pulumi new