You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
state_test.go:471: unexpected error from CopyValueAtPath: 1 error occurred:
* An unexpected error was encountered trying to convert into a Terraform value. This is always an error in the provider. Please report the following to the provider developer:
Cannot use attr.Value attr.Value, only types.Number is supported because types.primitive is the type in the schema
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Module version
Use-cases
The changes made in #167 prevent the "generic" use of
State.GetAttribute
to be used to copy a value, for example:https://github.com/hashicorp/terraform-provider-awscc/blob/3cdc5b061801143a621f3d571c53e0e36b22ab96/internal/generic/state.go#L12-L26
I have tried using a pointer to
attr.Value
:but this fails:
The text was updated successfully, but these errors were encountered: