diff --git a/internal/backend/remote-state/gcs/backend_test.go b/internal/backend/remote-state/gcs/backend_test.go index 3493d9e30f..5883f57cf1 100644 --- a/internal/backend/remote-state/gcs/backend_test.go +++ b/internal/backend/remote-state/gcs/backend_test.go @@ -7,6 +7,8 @@ import ( "context" "encoding/json" "fmt" + "github.com/placeholderplaceholderplaceholder/opentf/internal/httpclient" + "github.com/placeholderplaceholderplaceholder/opentf/version" "log" "os" "strings" @@ -437,6 +439,7 @@ func testGetClientOptions(t *testing.T) ([]option.ClientOption, error) { } credOptions = append(credOptions, option.WithCredentialsJSON([]byte(contents))) opts = append(opts, credOptions...) + opts = append(opts, option.WithUserAgent(httpclient.TerraformUserAgent(version.Version))) return opts, nil }