Skip to content

Merge pull request #69 from rancherlabs/ipxe-1.2.2 #18

Merge pull request #69 from rancherlabs/ipxe-1.2.2

Merge pull request #69 from rancherlabs/ipxe-1.2.2 #18

Workflow file for this run

name: Terraform Workflow
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
terraform_job:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.8.0
- name: Terraform Format Check
run: terraform fmt -diff -check -recursive
- name: Terraform Init
run: terraform init
- name: Terraform Plan
run: terraform plan
env:
METAL_AUTH_TOKEN: ${{ secrets.metal_auth_token }}
TF_VAR_project_name: ${{ secrets.project_name }}
TF_VAR_api_key: ${{ secrets.metal_auth_token }}
TF_VAR_node_count: 3
TF_VAR_plan: m3.small.x86
TF_VAR_spot_instance: true
TF_VAR_num_of_vlans: 10