catalystcommunity/Run Terraform
Runs a specified terraform command and comments on pull requests. Has built in support for authenticating to AWS.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | Which Terraform command to execute, supports `plan`, `apply`, and `validate`. | yes | — |
| terraform-version | Which version of Terraform to install. Defaults to latest. Supports semver ranges | — | latest |
| work-dir | Location of the Terraform root module to execute from | no | ./ |
| check-format | Check format with `terraform fmt`, report errors in PR comment | no | true |
| check-validate | Validate configuration with `terraform validate`, report errors in PR comment | no | true |
| comment-on-pr | Whether to comment the command's result on the pull request if the event is a pull request | no | true |
| github-token | Github token to use for creating comments | no | ${{ github.token }} |
| provider | Cloud provider to get credentials for. Currently only supports `aws`. | no | "" |
| 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 | "" |
| aws-role-to-assume | AWS IAM role to assume | no | "" |
| aws-role-skip-session-tagging | Whether to skip session tagging during AWS role assumption | no | "" |
Outputs
no outputs