chore: work save

This commit is contained in:
Marcel S. Henselin 2026-01-27 16:43:53 +01:00
parent a60b1db1f4
commit 3e3f13d36d
7 changed files with 214 additions and 46 deletions

View file

@ -62,6 +62,7 @@ resource "stackitprivatepreview_sqlserverflexalpha_instance" "sqlsrv-nosna" {
#keyring_id = stackit_kms_keyring.keyring.keyring_id
#key_version = 1
#key_id = var.key_id
# key with scope public
key_id = "fe039bcf-8d7b-431a-801d-9e81371a6b7b"
keyring_id = var.keyring_id
key_version = var.key_version

View file

@ -14,7 +14,9 @@ usage() {
CONFIG_FOLDER=$(dirname "$0")
BINARY=terraform
while getopts ":b:hdit" arg; do
ADD=""
while getopts ":b:hdirt" arg; do
case $arg in
b) # Set binary (default is terraform).
BINARY=${OPTARG}
@ -30,6 +32,10 @@ while getopts ":b:hdit" arg; do
export TF_LOG
shift
;;
r) # Set log level to INFO.
ADD="-refresh-only"
shift
;;
t) # Set log level to TRACE.
TF_LOG=TRACE
export TF_LOG
@ -44,4 +50,4 @@ done
TERRAFORM_CONFIG=${CONFIG_FOLDER}/config.tfrc
export TERRAFORM_CONFIG
${BINARY} "$@"
${BINARY} "$@" ${ADD}