From f8fb61de12dea9ac94de3060a0d3e97ce9b5480b Mon Sep 17 00:00:00 2001 From: Daniel Banck Date: Thu, 30 Apr 2026 16:24:11 +0200 Subject: [PATCH] Don't expect an error for undeclared variable values from cloud --- internal/cloud/backend_context_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/cloud/backend_context_test.go b/internal/cloud/backend_context_test.go index 7039a47148..3b7dc05aed 100644 --- a/internal/cloud/backend_context_test.go +++ b/internal/cloud/backend_context_test.go @@ -169,7 +169,8 @@ func TestRemoteContextWithVars(t *testing.T) { &tfe.VariableCreateOptions{ Category: &catTerraform, }, - `Value for undeclared variable: A variable named "key" was assigned a value, but the root module does not declare a variable of that name. To use this value, add a "variable" block to the configuration.`, + // We don't expect an error for values of undeclared variables + ``, }, "environment variable": { &tfe.VariableCreateOptions{