Add exclusion to adding project prefix to default workspace

This commit is contained in:
conor 2019-11-13 11:34:51 +01:00
parent 53175c47a6
commit a72d1c1c01

View file

@ -26,7 +26,7 @@ def determine_actions(args, params):
workspace = workspaces.get_env()
workspace_vars = workspace
if (args.project):
if (args.project) and workspace != 'default':
workspace = args.project + "-" + workspace
env_actions = ["init", "plan", "apply", "destroy"] # Commands that require env context