actions-marketplace-validations/terraform-cdk-action
The Terraform CDK GitHub Action allows you to run CDKTF as part of your CI/CD workflow.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cdktfVersion | The version of CDKTF to use | no | 0.21.0 |
| terraformVersion | The version of Terraform to use | no | 1.13.3 |
| workingDirectory | The directory to use for the project | no | ./ |
| mode | What action to take: `synth-only` runs only the synthesis, `plan-only` only runs a plan, `auto-approve-apply` runs a plan and then performs an apply, `auto-approve-destroy` runs a plan and then performs a destroy | yes | — |
| stackName | The stack to run / plan, only required when the mode is `plan-only` or `plan-and-apply` | no | — |
| terraformCloudToken | The Terraform Cloud / Terraform Enterprise token to use | no | — |
| githubToken | The github token to use | no | — |
| commentOnPr | Whether to comment the plan / the status on the PR | no | true |
| updateComment | Whether to update the last comment on the PR rather than adding a new comment | no | true |
| customNpxArgs | The additional CLI arguments to pass to npx as part of the cdktf-cli execution. | no | "" |
| cdktfArgs | The additional CLI arguments to pass to cdktf as part of the cdktf-cli execution. | no | "" |
| suppressOutput | Whether to suppress the output of the action in PR comments | no | false |
Outputs
no outputs