You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
│ Error: Invalid function argument
│
│ on modules/infra/aws/outputs.tf line 29, in output "ssh_key":
│ 29: value = var.create_ssh_key_pair ? tls_private_key.ssh_private_key[0].private_key_openssh : (var.ssh_key_pair_path != null ? file(pathexpand(var.ssh_key_pair_path)) : var.ssh_key)
│ ├────────────────
│ │ while calling file(path)
│ │ var.ssh_key_pair_path is "/home/alexxx/Downloads/forked/prefix-ssh_private_key.pem"
│
│ Invalid value for "path" parameter: no file exists at "/home/alexxx/Downloads/forked/prefix-ssh_private_key.pem"; 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.
╵
╷
The text was updated successfully, but these errors were encountered:
│ Error: Invalid function argument
│
│ on modules/infra/aws/outputs.tf line 29, in output "ssh_key":
│ 29: value = var.create_ssh_key_pair ? tls_private_key.ssh_private_key[0].private_key_openssh : (var.ssh_key_pair_path != null ? file(pathexpand(var.ssh_key_pair_path)) : var.ssh_key)
│ ├────────────────
│ │ while calling file(path)
│ │ var.ssh_key_pair_path is "/home/alexxx/Downloads/forked/prefix-ssh_private_key.pem"
│
│ Invalid value for "path" parameter: no file exists at "/home/alexxx/Downloads/forked/prefix-ssh_private_key.pem"; 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.
╵
╷
The text was updated successfully, but these errors were encountered: