Speculative Run #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Speculative Run | |
on: | |
workflow_dispatch: | |
inputs: | |
workspace_transfer_url: | |
description: "URL from which to download the workspace" | |
required: true | |
type: string | |
jobs: | |
plan: | |
name: Plan | |
runs-on: ubuntu-22.04 | |
env: | |
TF_HTTP_PASSWORD: ${{ github.token }} | |
TF_IN_AUTOMATION: "true" | |
steps: | |
- name: Download Workspace | |
run: | | |
curl ${{ inputs.workspace_transfer_url }} --user github_pat:${TF_HTTP_PASSWORD} --fail --silent | tar -xzf - | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: "1.6.6" | |
- run: terraform init | |
- run: terraform plan |