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

atlantis plan fails with no error message #383

Closed
WSmonkey opened this issue Dec 8, 2018 · 2 comments
Closed

atlantis plan fails with no error message #383

WSmonkey opened this issue Dec 8, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@WSmonkey
Copy link

WSmonkey commented Dec 8, 2018

After I created a PR in GitHub, the automatic atlantis plan runs but fails with no helpful error message:

exit status 1: running "sh -c terraform plan -input=false -refresh -no-color -out \"/atlantis-data/repos/ORG_NAME/REPO_NAME/27/default/tf/stg/tf-stg-default.tfplan\" -var atlantis_user=\"USER_NAME\" -var atlantis_repo=\"ORG_NAME/REPO_NAME\" -var atlantis_repo_name=\"REPO_NAME\" -var atlantis_repo_owner=\"ORG_NAME\" -var atlantis_pull_num=27" in "/atlantis-data/repos/ORG_NAME/REPO_NAME/27/default/tf/stg"

The only exit status 1 is not helpful for debugging. I run Atlantis in Kubernetes but didn't see plan error either. I guess the plan was not started.

What's the problem? Appreciate for any ideas.

terraform version: 0.11.10
My atlantis.yaml looks like:
version: 2
projects:
- name: tf-stg
dir: tf/stg
terraform_version: 0.11.10
autoplan:
when_modified: ["*.tf*"]
apply_requirements: [approved]

@lkysow
Copy link
Member

lkysow commented Dec 10, 2018

Hi Shuai, sorry for the trouble. This was just fixed in master: #381. The plan output is just not being commented back so there's probably an error in your plan somewhere. I am targeting a release for early next week.

If you cannot wait, I'd recommend using the runatlantis/atlantis:latest Docker image which should have the fix.

@lkysow lkysow added the waiting-on-response Waiting for a response from the user label Dec 10, 2018
@lkysow lkysow removed the waiting-on-response Waiting for a response from the user label Dec 17, 2018
@lkysow
Copy link
Member

lkysow commented Dec 17, 2018

Closing because this is fixed in master and will be in the next release.

@lkysow lkysow closed this as completed Dec 17, 2018
@lkysow lkysow added the bug Something isn't working label Apr 9, 2019
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