Skip to content

chore: generate and maintain in-repo module documentation #69

chore: generate and maintain in-repo module documentation

chore: generate and maintain in-repo module documentation #69

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.9.5
- 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: Harvester Labs
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