Fix VAR_FILES
This commit is contained in:
parent
0aa2e8e3c3
commit
252064322c
4
fabrica
4
fabrica
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
WORKDIR="./terraform"
|
WORKDIR="./terraform"
|
||||||
TERRA="terraform"
|
TERRA="terraform"
|
||||||
VAR_FILE="main.tfvars networks.tfvars dns-zones.tfvars"
|
VAR_FILES=$(ls ${WORKDIR}/*.tfvars)
|
||||||
PACKER_ROOT="./packer"
|
PACKER_ROOT="./packer"
|
||||||
|
|
||||||
# FIXME
|
# FIXME
|
||||||
|
@ -24,7 +24,7 @@ function trun()
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
OPTS=""
|
OPTS=""
|
||||||
for fl in ${VAR_FILE}
|
for fl in ${VAR_FILES}
|
||||||
do
|
do
|
||||||
OPTS="-var-files ${fl} "
|
OPTS="-var-files ${fl} "
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue