diff --git a/internal/command/cloud.go b/internal/command/cloud.go index 47709a626f..e3aebb9b1d 100644 --- a/internal/command/cloud.go +++ b/internal/command/cloud.go @@ -205,7 +205,7 @@ func (c *CloudCommand) initPlugin() tfdiags.Diagnostics { defer done() // Discover service URLs, and build out the plugin config - diags.Append(c.discoverAndConfigure()) + diags = diags.Append(c.discoverAndConfigure()) if diags.HasErrors() { return diags }