catalystcommunity/Run Pulumi Command

Runs pulumi command on specified stack. Currently supports pulumi in golang and AWS, may support other languages and providers in the future. If the runtime is go, then go modules are cached.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Aug 5, 2024
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: catalystcommunity/action-pulumi@a7bddf8ce703b41d96debdee6524698d5987e255 # v1.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
runtimePulumi runtimenogo
go-versionGo version to use, this input is only used if the runtime is set to `go`no~1.17
providerCloud provider to get credentials fornoaws
aws-regionAWS regionnous-west-2
aws-access-key-idAWS access key id to useno""
aws-secret-access-keyAWS secret access keyno""
commandPulumi command to run, one of `up`, `refresh`, `destroy`, `preview`yes
stack-nameWhich stack you want to apply to, eg. prodyes
work-dirLocation of your Pulumi files. Defaults to ./no./
comment-on-prIf true, a comment will be created with resultsnotrue
github-tokenGithub Tokenno${{ github.token }}
cloud-urlA cloud URL to log in tono""
secrets-providerThe type of the provider that should be used to encrypt and decrypt secrets. Possible choices: default, passphrase, awskms, azurekeyvault, gcpkms, hashivaultno""
parallelAllow P resource operations to run in parallel at once (1 for no parallelism). Defaults to unbounded.no2147483647
messageOptional message to associate with the update operationno""
expect-no-changesReturn an error if any changes occur during this updateno
diffDisplay operation as a rich diff showing the overall changenotrue
replaceSpecify resources to replace. Multiple resources can be specified one per lineno
targetSpecify a single resource URN to update. Other resources will not be updated. Multiple resources can be specified one per lineno
target-dependentsAllows updating of dependent targets discovered but not specified in target.nofalse
refreshPerform a stack refresh as part of the operationnotrue
upsertCreate the stack if it currently does not existnofalse
edit-pr-commentEdit previous PR comment instead of posting new onenotrue
namedescription
command-outputOutput of pulumi command