mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore: more commands for the tl;dr
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -14,4 +14,6 @@
|
|||||||
*.tfstate
|
*.tfstate
|
||||||
*.tfstate.backup
|
*.tfstate.backup
|
||||||
|
|
||||||
|
.pulumi/
|
||||||
|
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|||||||
@@ -11,6 +11,27 @@
|
|||||||
brew install 'pulumi/tap/pulumi'
|
brew install 'pulumi/tap/pulumi'
|
||||||
choco install 'pulumi'
|
choco install 'pulumi'
|
||||||
|
|
||||||
|
# Create completions for the shell.
|
||||||
|
source <(pulumi gen-completion 'zsh')
|
||||||
|
pulumi completion 'fish' > "$HOME/.config/fish/completions/pulumi.fish"
|
||||||
|
|
||||||
|
|
||||||
|
# Operate entirely from the local machine (local-only mode).
|
||||||
|
# Stores the state under the '.pulumi' folder in the given directory.
|
||||||
|
pulumi login --local
|
||||||
|
pulumi login "file://~"
|
||||||
|
pulumi login "file://."
|
||||||
|
pulumi login "file://path/to/folder"
|
||||||
|
|
||||||
|
# Store the state in object storage backends.
|
||||||
|
pulumi login 'azblob://state-bucket'
|
||||||
|
pulumi login 'gs://state-bucket'
|
||||||
|
pulumi login 's3://state-bucket'
|
||||||
|
|
||||||
|
# List available templates.
|
||||||
|
pulumi new -l
|
||||||
|
pulumi new --list-templates
|
||||||
|
|
||||||
# Create new projects in the current directory.
|
# Create new projects in the current directory.
|
||||||
# Creates basic scaffolding files based on the specified cloud and language.
|
# Creates basic scaffolding files based on the specified cloud and language.
|
||||||
pulumi new
|
pulumi new
|
||||||
@@ -18,6 +39,7 @@ pulumi new 'aws-go' -d 'description' -n 'name'
|
|||||||
pulumi new 'azure-python' --dir '.' -s 'stack' --name 'name'
|
pulumi new 'azure-python' --dir '.' -s 'stack' --name 'name'
|
||||||
pulumi new 'gcp-typescript' --description 'description' --stack 'stack'
|
pulumi new 'gcp-typescript' --description 'description' --stack 'stack'
|
||||||
pulumi new 'kubernetes-yaml'
|
pulumi new 'kubernetes-yaml'
|
||||||
|
pulumi new 'oci-java'
|
||||||
|
|
||||||
# Get a summary of what would be deployed.
|
# Get a summary of what would be deployed.
|
||||||
pulumi preview
|
pulumi preview
|
||||||
|
|||||||
Reference in New Issue
Block a user