diff --git a/terraform-apply/action.yml b/terraform-apply/action.yml new file mode 100644 index 0000000..4dc61a5 --- /dev/null +++ b/terraform-apply/action.yml @@ -0,0 +1,16 @@ +name: Terraform Apply +description: Applies Terraform changes + +inputs: + working_directory: + required: true + plan_filepath: + required: true + +runs: + using: "composite" + steps: + - name: Apply changes + run: terraform apply -lock-timeout=10m '${{ inputs.plan_filepath }}' + working-directory: ${{ inputs.working_directory }} + shell: bash