Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ssinha20 opened this issue Jan 20, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@ssinha20
Copy link

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 ssinha20 added the bug Something isn't working label Jan 20, 2021
@bpradipt
Copy link
Contributor

@ssinha20 is this still an error ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants