openshift-install-power icon indicating copy to clipboard operation
openshift-install-power copied to clipboard

[BUG] path error appears while using https://github.com/ocp-power-automation/openshift-install-power in gitbash terminal for Windows10

Open ssinha20 opened this issue 4 years ago • 1 comments

Describe the bug path error appears while using https://github.com/ocp-power-automation/openshift-install-power in gitbash terminal for Windows10

To Reproduce Steps to reproduce the behavior:

  1. execute openshift-install-power in gitbash terminal for Windows10 in interactive mode.
  2. id_rsa.pub, /id_rsa, /pull-secret.txt are present in same path as install script

Expected behavior Install should work.

Console Output

Paste the console messages that help explain your problem.
```[apply] Running terraform apply... please wait
Error: Invalid function argument
  on ocp.tf line 94, in module "install":
  94:     pull_secret                     = file(coalesce(var.pull_secret_file, "/dev/null"))
    |----------------
    | var.pull_secret_file is "<Full path of UserDir>/pull-secret.txt"
Invalid value for "path" parameter: no file exists at
<Full path of UserDir>\pull-secret.txt; this
function works only with files that are distributed as part of the
configuration source code, so if this file will be created by a resource in
this configuration you must instead obtain this result from an attribute of
that resource.

**Desktop (please complete the following information):**
  - Windows 10 terminal ,GitBash

ssinha20 avatar Jan 20 '21 13:01 ssinha20

@ssinha20 is this still an error ?

bpradipt avatar Jun 30 '21 10:06 bpradipt