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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 5, 2024
- License
- Apache 2.0
Pinned Snippet
uses: catalystcommunity/action-pulumi@a7bddf8ce703b41d96debdee6524698d5987e255 # v1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| runtime | Pulumi runtime | no | go |
| go-version | Go version to use, this input is only used if the runtime is set to `go` | no | ~1.17 |
| provider | Cloud provider to get credentials for | no | aws |
| aws-region | AWS region | no | us-west-2 |
| aws-access-key-id | AWS access key id to use | no | "" |
| aws-secret-access-key | AWS secret access key | no | "" |
| command | Pulumi command to run, one of `up`, `refresh`, `destroy`, `preview` | yes | — |
| stack-name | Which stack you want to apply to, eg. prod | yes | — |
| work-dir | Location of your Pulumi files. Defaults to ./ | no | ./ |
| comment-on-pr | If true, a comment will be created with results | no | true |
| github-token | Github Token | no | ${{ github.token }} |
| cloud-url | A cloud URL to log in to | no | "" |
| secrets-provider | The type of the provider that should be used to encrypt and decrypt secrets. Possible choices: default, passphrase, awskms, azurekeyvault, gcpkms, hashivault | no | "" |
| parallel | Allow P resource operations to run in parallel at once (1 for no parallelism). Defaults to unbounded. | no | 2147483647 |
| message | Optional message to associate with the update operation | no | "" |
| expect-no-changes | Return an error if any changes occur during this update | no | — |
| diff | Display operation as a rich diff showing the overall change | no | true |
| replace | Specify resources to replace. Multiple resources can be specified one per line | no | — |
| target | Specify a single resource URN to update. Other resources will not be updated. Multiple resources can be specified one per line | no | — |
| target-dependents | Allows updating of dependent targets discovered but not specified in target. | no | false |
| refresh | Perform a stack refresh as part of the operation | no | true |
| upsert | Create the stack if it currently does not exist | no | false |
| edit-pr-comment | Edit previous PR comment instead of posting new one | no | true |
Outputs
| name | description |
|---|---|
| command-output | Output of pulumi command |