aboutsummaryrefslogtreecommitdiff
path: root/opentofu/init-validate-plan.sh
blob: 21d133e11e1959172e53b43513e62091502463de (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

plan_file="$1"

# tofu workflow
tofu init && \
tofu fmt && \
tofu validate && \
tofu plan -out "$plan_file"