If you attempt to create a custom destination without the optional forward_tags_restriction_list field. You get the following error:
This is caused by the field being marked computed and the IsNull() check allowing through unset computed values causing type conversion issues.
Changes
This PR ensures computed values are checked with IsUnknown() instead of isNull().
A test is also added with only the required fields to ensure this works going forward.
Motivation
If you attempt to create a custom destination without the optional
forward_tags_restriction_list
field. You get the following error: This is caused by the field being markedcomputed
and theIsNull()
check allowing through unset computed values causing type conversion issues.Changes
This PR ensures computed values are checked with
IsUnknown()
instead ofisNull()
. A test is also added with only the required fields to ensure this works going forward.