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

Bitbucket project name cannot have a space #302

Closed
rmakram-ims opened this issue Oct 1, 2018 · 1 comment
Closed

Bitbucket project name cannot have a space #302

rmakram-ims opened this issue Oct 1, 2018 · 1 comment
Labels
bug Something isn't working provider/bitbucket

Comments

@rmakram-ims
Copy link

atlantis v 0.4.10
using Bitbucket privately hosted and a lot of my projects have spaces in their names eg "Cloud Infrastructure" etc.
Once my Pull Request is created, I get the following error:

exit status 1: running "sh -c terraform plan -input=false -refresh -no-color -out "/home/USERNAME/.atlantis/repos/Cloud Infrastructure/atlantis-test/5/default/default.tfplan" -var atlantis_user=USERNAME -var atlantis_repo=Cloud Infrastructure/atlantis-test -var atlantis_repo_name="atlantis-test" -var atlantis_repo_owner=Cloud Infrastructure -var atlantis_pull_num=5" in "/home/USERNAME/.atlantis/repos/Cloud Infrastructure/atlantis-test/5/default"
Too many command line arguments. Configuration path expected.

It seems that the issue is coming from the newly added -vars "atlantis_repo" and "atlantis_repo_owner", it could be simply decorated with quotes.

Also once running atlantis apply, I get this error:

exit status 1: running "sh -c terraform apply -input=false -no-color /home/USERNAME/.atlantis/repos/Cloud Infrastructure/atlantis-test/5/default/default.tfplan" in "/home/USERNAME/.atlantis/repos/Cloud Infrastructure/atlantis-test/5/default"
Too many command line arguments. Configuration path expected.

This also looks like it's an issue with the planPath not accepting spaces.

Any chances this could be fixed in the coming release?
Thanks

@lkysow
Copy link
Member

lkysow commented Oct 2, 2018

Hey sorry, I'll fix this in the next release.

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

No branches or pull requests

3 participants