diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-03 13:01:33 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-02-03 13:01:33 +0100 |
commit | d26133790a82e30955aeaa0327a30616788b9aee (patch) | |
tree | bab75464255b3d92377398cdc8ec530d6f1758a4 /opentofu/init-validate-plan.sh | |
parent | cbe1116f9ea9c4b1c0e66125070d33236fe0bbc6 (diff) |
opentofu: main becomes docker-server, starting ubuntu and k8s cluster template
Diffstat (limited to 'opentofu/init-validate-plan.sh')
-rwxr-xr-x | opentofu/init-validate-plan.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/opentofu/init-validate-plan.sh b/opentofu/init-validate-plan.sh new file mode 100755 index 0000000..21d133e --- /dev/null +++ b/opentofu/init-validate-plan.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +plan_file="$1" + +# tofu workflow +tofu init && \ +tofu fmt && \ +tofu validate && \ +tofu plan -out "$plan_file" |