ocp-power-automation/openshift-install-power

Flavor var file is used even if flavor option is not selected

Closed this issue · 4 comments

Getting error the following error while running script
Console Logs

Error: Failed to read variables file

Given variables file ./compute-vars/.tfvars does not exist.

To Reproduce
Command used to run ./openshift-install-powervs create -ignore-os-checks -verbose
where I am using default var.tfvars file

Expected result
It should take var.tfvars file as default and not use ./compute-vars/.tfvars if flavor option is not passed

@aishwaryabk please check this ASAP.

@Shilpi-Das1 if this is blocking you then please use the master branch or old version of the script till we get you the fix.

@yussufsh Sure I will use that I have tested it with PR #153 Its running fine

Fixed via #153