davekpatrick/GitHub Action Execute Terraform
A GitHub Action to validate, plan, apply and destroy Hashicorp Terraform open source configuration
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| apiToken | GitHub API token | no | — |
| setupVersion | The version of Terraform to setup. If not specified the action will attempt to locate and install the version specified in the configuration file, else it will install the latest available version | no | — |
| includePrerelease | Include pre-releases from setup version selection process | no | false |
| versionInvalidHandling | If an invalid version is detected, what action should be taken. Options: fail, latest | no | fail |
| useCheckPointService | Use the HashiCorp Checkpoint service to check for the availability of new versions and critical security patches | no | true |
| configDirectory | The working directory that contains the Terraform root module configuration | no | terraform |
| configFileName | The configuration file name that contains the Terraform block | no | main.tf |
| terraformFmtType | The type of Terraform format to execute. Options: none, check, write, strict | no | write |
| terraformFmtCommitMessage | Git commit message to use | no | Updating incorrectly formatted files |
| terraformValidate | Execute a Terraform validate | no | true |
Outputs
| name | description |
|---|---|
| setupVersion | The installed Terraform version |
| setupPath | Install path to the Terraform binary |