From 4c91b0f00eb60b8398b2c1563d439a7633aa825e Mon Sep 17 00:00:00 2001 From: Christopher Kim Date: Tue, 20 Apr 2021 17:45:23 -0700 Subject: [PATCH] Initial terraform-validate action --- terraform-validate/action.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 terraform-validate/action.yml diff --git a/terraform-validate/action.yml b/terraform-validate/action.yml new file mode 100644 index 0000000..46896bf --- /dev/null +++ b/terraform-validate/action.yml @@ -0,0 +1,14 @@ +name: Terraform Validate +description: Validates a Terraform configuration + +inputs: + working_directory: + required: true + +runs: + using: "composite" + steps: + - name: Validate configuration + run: terraform validate + working-directory: ${{ inputs.working_directory }} + shell: bash