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

Spaces in directory path #423

Closed
romsnl opened this issue Jan 14, 2019 · 0 comments
Closed

Spaces in directory path #423

romsnl opened this issue Jan 14, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@romsnl
Copy link

romsnl commented Jan 14, 2019

Problem
Atlantis plan will not work when specifying a directory path with spaces.

Example
atlantis plan -d “foo/bar/foo bar foo/example” -- -destroy

Error: unknown argument(s) – bar\ foo/example.
Usage of plan:
-d, --dir string Which directory to run plan in relative to root of repo,
ex. 'child/dir'.
-p, --project string Which project to run plan for. Refers to the name of the
project configured in atlantis.yaml. Cannot be used at
same time as workspace or dir flags.
--verbose Append Atlantis log to comment.
-w, --workspace string Switch to this Terraform workspace before planning.

I tried with quotes, quotemarks and backslashes space but none of these worked.

@lkysow lkysow added the bug Something isn't working label Feb 12, 2019
lkysow added a commit that referenced this issue Mar 5, 2019
Allow running atlantis plan -d "dir with spaces" to target a directory
that contains spaces.

Fixes #423
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