versent/Terraform Plan Custom Action
Performs a Terraform plan and returns the output
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tfDir | The directory where the Terraform templates are located | no | "" |
| tfArgs | Extra arguments to pass to terraform | no | "" |
| tfWorkspace | The Terraform workspace to select | no | default |
| gitUser | The Git user used to clone repositories | yes | — |
| gitToken | The Git user token used to clone repositories | yes | — |
| commentPrNumber | Pull Request ID to add the TF Plan comment | no | — |
| commentTitle | Main title for TF Plan comment on Pull Request | no | Terraform Plan Results |
| commentSubTitle | Sub title for TF Plan comment on Pull Request | no | Terraform Plan |
Outputs
| name | description |
|---|---|
| tfplan | The Terraform plan output |
| message | Friendly message that shows if there are changes to review |
| result | The return code of the plan. 0 = no changes, 1 = error, 2 = changes |