Feat/mssql alpha instance (#7)
* chore: add missing resources --------- Co-authored-by: Marcel S. Henselin <marcel.henselin@stackit.cloud>
This commit is contained in:
parent
08afbcf574
commit
70db08f43f
8 changed files with 129 additions and 30 deletions
18
sample/tf.sh
18
sample/tf.sh
|
|
@ -2,8 +2,24 @@
|
|||
# Copyright (c) STACKIT
|
||||
|
||||
|
||||
# ./tf.sh apply > >(tee -a stdout.log) 2> >(tee -a stderr.log >&2)
|
||||
|
||||
# copy or rename sample.tfrc.example and adjust it
|
||||
TERRAFORM_CONFIG=$(pwd)/sample.tfrc
|
||||
export TERRAFORM_CONFIG
|
||||
|
||||
terraform "$1"
|
||||
parsed_options=$(
|
||||
getopt -n "$0" -o l -- "$@"
|
||||
) || exit
|
||||
eval "set -- $parsed_options"
|
||||
while [ "$#" -gt 0 ]; do
|
||||
case $1 in
|
||||
(-l) TF_LOG=TRACE
|
||||
export TF_LOG
|
||||
shift;;
|
||||
(--) shift; break;;
|
||||
(*) echo "Unknown option ${1}" # should never be reached.
|
||||
esac
|
||||
done
|
||||
|
||||
terraform "$*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue