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

Add path as valid type for deployment.sshOptions list #234

Open
amerocu opened this issue Oct 25, 2024 · 0 comments
Open

Add path as valid type for deployment.sshOptions list #234

amerocu opened this issue Oct 25, 2024 · 0 comments

Comments

@amerocu
Copy link

amerocu commented Oct 25, 2024

Declaring a path as parameter for ssh with the option deployment.sshOptions displays this error:

error: A definition for option deployment.sshOptions.[definition 1-entry 2]' is not of type string'. Definition values:

While it makes sense to restrict the list values to only string types, it could be nice to also allow putting whole nix paths, and have the cast to string be done inside the module, instead of having to manually cast them to string.

This valid example:
deployment.sshOptions = ["-F" "${../ssh.config}"];
Could become this:
deployment.sshOptions = ["-F" ../ssh.config];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant