Closed as not planned
Description
Module version
github.com/hashicorp/terraform-plugin-framework v1.2.0
Relevant provider source code
https://github.com/liamawhite/tf-issue-repro
Debug Output
make test 1.20.2
TF_ACC=1 go test ./...
--- FAIL: TestAccServiceAccountResource (0.70s)
resource_test.go:36: Step 1/3 error: Error running apply: exit status 1
Error: Value Conversion Error
with provider_service_account.some-name,
on terraform_plugin_test.tf line 4, in resource "provider_service_account" "some-name":
4: resource provider_service_account "some-name" {}
An unexpected error was encountered trying to build a value. This is always
an error in the provider. Please report the following to the provider
developer:
Received unknown value, however the target type cannot handle unknown values.
Use the corresponding `types` package type or a custom type that handles
unknown values.
Path: keys
Target Type: []*repro.KeyModel
Suggested Type: basetypes.ListValue
FAIL
FAIL github.com/liamawhite/tf-issue-repro 1.064s
FAIL
make: *** [test] Error 1
Expected Behavior
To populate the model without having to define a custom type just for computed lists of objects.