Add more context to terraform fatal log

This commit is contained in:
Peter Rifel 2025-07-29 20:18:31 -05:00
parent 7ae0bae6fc
commit 83d61f0d97
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ func (t *TerraformWriter) EnsureTerraformProvider(name string, arguments map[str
// already exists and matches
return existing
}
klog.Fatalf("attempt to add different tfProvider with key %q", key)
klog.Fatalf("attempt to add different tfProvider with key %q, arguments: %q vs %q", key, tfProvider.Arguments, existing.Arguments)
}
t.Providers[key] = tfProvider
return tfProvider