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"