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

fix: Account for upcoming init error message change #228

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

radeksimko
Copy link
Member

This is to address the following nightly test failure:

    util_test.go:113: [INFO] running Terraform command: /tmp/tfinstall756103370/gitref-refs-heads-main/terraform470134907 show -json -no-color
    show_test.go:90: expected error ErrNoInit, got *fmt.wrapError: exit status 1
        
        Error: Inconsistent dependency lock file
        
        The following dependency selections recorded in the lock file are
        inconsistent with the current configuration:
          - provider registry.terraform.io/hashicorp/null: required by this configuration but no version is selected
        
        To make the initial dependency selections that will initialize the dependency
        lock file, run:
          terraform init
        
--- FAIL: TestShow_errInitRequired (0.12s)
    --- FAIL: TestShow_errInitRequired/basic-refs/heads/main (0.12s)

@radeksimko radeksimko added the bug Something isn't working label Oct 5, 2021
@radeksimko radeksimko marked this pull request as ready for review October 5, 2021 09:50
@radeksimko radeksimko requested a review from kmoe October 5, 2021 09:50
@radeksimko radeksimko merged commit 89f4b81 into main Oct 5, 2021
@radeksimko radeksimko deleted the b-fix-init-err-match branch October 5, 2021 09:52
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

Successfully merging this pull request may close these issues.

1 participant