SQL Server Flex Beta: Provider crashes with Value Conversion Error due to null InstanceResourceIdentityModel #70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
During terraform apply, a Value Conversion Error occurs after successfully creating a stackitprivatepreview_postgresflexalpha_instance.
The error appears to be triggered within the stackitprivatepreview_sqlserverflexbeta_instance resource while handling the InstanceResourceIdentityModel.
Terraform reports that a null value is returned by the API, but the provider's target type does not support null values. This results in a provider-side crash.
This behavior suggests a bug in the Terraform provider implementation when mapping API responses to the sqlserverflexbeta.InstanceResourceIdentityModel.
Steps to reproduce
Actual behavior
Terraform fails with the following error:
Expected behavior
The provider should properly handle null values returned by the API.
If the API returns null for optional identity fields, the provider must:
Terraform should complete successfully without provider-side value conversion errors.