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