Master branch will try to get default.tfvars

This commit is contained in:
conor 2019-06-11 13:11:50 +02:00
parent c6880e40a7
commit f12fd7b2f3

View file

@ -23,7 +23,7 @@ def determine_actions(args, params):
for param in params: # Pass terraform params directly through
cmd = cmd + ' ' + param
if (args.command in env_actions) and (workspace != "default"): # Append with env context
if (args.command in env_actions): # Append with env context
cmd = cmd + ' -var-file=vars/{env}.tfvars -var "workspace={env}"'.format(env=workspace)
if (args.e):