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

tfexec: Add (Terraform).SetLogCore() and (Terraform).SetLogProvider() methods #324

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

bflad
Copy link
Contributor

@bflad bflad commented Jun 30, 2022

@bflad bflad added the enhancement New feature or request label Jun 30, 2022
@bflad
Copy link
Contributor Author

bflad commented Jun 30, 2022

Looks like the unit test failure is due to upstream etcd backend removal that was just merged in.

=== RUN   TestShow_noInitEtcdBackend/etcd_backend-refs/heads/main
    util_test.go:173: [INFO] running Terraform command: /tmp/hc-install-terraform-acb79a75451e39126f1cdc596ff802a91d64d7123921547818/terraform show -json -no-color
    show_test.go:225: expected error ErrNoInit, got *fmt.wrapError: exit status 1
        
        Error: Invalid backend type
        
          on main.tf line 2, in terraform:
           2:   backend "etcd" {
        
        The "etcd" backend is not supported in Terraform v1.3 or later.
--- FAIL: TestShow_noInitEtcdBackend (0.06s)
    --- FAIL: TestShow_noInitEtcdBackend/etcd_backend-refs/heads/main (0.06s)

I'll try to separately fix that.

@bflad
Copy link
Contributor Author

bflad commented Jun 30, 2022

Test fix pull request: #325

@radeksimko radeksimko merged commit 17383eb into main Jul 1, 2022
@radeksimko radeksimko deleted the bflad-terraform-setlogcore-setlogprovider branch July 1, 2022 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support TF_LOG_{CORE,PROVIDER}
2 participants