forked from fediversity/fediversity
11 lines
320 B
Bash
11 lines
320 B
Bash
#! /usr/bin/env bash
|
|
set -euo pipefail
|
|
declare tf_env
|
|
|
|
# # on upload explodes RAM use + logs file content, causing timeout
|
|
# export TF_LOG=debug
|
|
|
|
cd "${tf_env}/deployment/run/tf-proxmox"
|
|
# parallelism=1: limit OOM risk
|
|
TF_LOG=info tofu apply --auto-approve -input=false -parallelism=1 >&2
|
|
TF_LOG=error tofu output -json
|