Skip to content

Commit

Permalink
backport cloud integration panic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Uk1288 committed Mar 31, 2022
1 parent f386a07 commit bfa7c67
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 bfa7c67

Please sign in to comment.