Skip to content

Commit

Permalink
Merge pull request #30780 from hashicorp/uk1288/backport-cloud-integr…
Browse files Browse the repository at this point in the history
…ation-panic-fix

backport cloud integration panic fix
  • Loading branch information
Uk1288 committed Apr 1, 2022
2 parents cdb01a8 + bfa7c67 commit 9e26985
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/command/meta_backend.go
Expand Up @@ -320,6 +320,9 @@ func (m *Meta) BackendForPlan(settings plans.Backend) (backend.Enhanced, tfdiags

configureDiags := b.Configure(newVal)
diags = diags.Append(configureDiags)
if configureDiags.HasErrors() {
return nil, diags
}

// If the backend supports CLI initialization, do it.
if cli, ok := b.(backend.CLI); ok {
Expand Down

0 comments on commit 9e26985

Please sign in to comment.