diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml new file mode 100644 index 0000000..2c3be96 --- /dev/null +++ b/.github/workflows/terraform.yml @@ -0,0 +1,20 @@ +name: terraform +on: [push, pull_request] +jobs: + terraform: + name: Terraform + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: fmt + uses: hashicorp/terraform-github-actions@master + with: + tf_actions_subcommand: fmt + - name: init + uses: hashicorp/terraform-github-actions@master + with: + tf_actions_subcommand: init + - name: validate + uses: hashicorp/terraform-github-actions@master + with: + tf_actions_subcommand: validate