@ -91,7 +91,7 @@ func CheckProviderInLockfile(locks depsfile.Locks, providerType *ProviderType, d
Severity:hcl.DiagError,
Summary:"Provider missing from lockfile",
Detail:fmt.Sprintf(
"Provider %q is not in the lockfile. This provider must be in the lockfile to be used in the configuration. Please run `tfstacks provider lock` to update the lockfile and run this operation again with an updated configuration.",
"Provider %q is not in the lockfile. This provider must be in the lockfile to be used in the configuration. Please run `tfstacks providers lock` to update the lockfile and run this operation again with an updated configuration.",
t.Fatalf("expected diagnostic summary 'Provider missing from lockfile', got %q",diag.Description().Summary)
}
ifdiag.Description().Detail!="Provider \"registry.terraform.io/hashicorp/testing\" is not in the lockfile. This provider must be in the lockfile to be used in the configuration. Please run `tfstacks provider lock` to update the lockfile and run this operation again with an updated configuration." {
ifdiag.Description().Detail!="Provider \"registry.terraform.io/hashicorp/testing\" is not in the lockfile. This provider must be in the lockfile to be used in the configuration. Please run `tfstacks providers lock` to update the lockfile and run this operation again with an updated configuration." {
t.Fatalf("expected diagnostic detail to be a specific message, got %q",diag.Description().Detail)