snowflake_table_constraint generating SQL with more optional parameters than specified in the resource #2629
Labels
bug
Used to mark issues with provider's incorrect behavior
category:resource
resource:table_constraint
Issue connected to the snowflake_table_constraint resource
Terraform CLI and Provider Versions
0.87.2
Terraform Configuration
Expected Behavior
Currently the SQL should only specify optional parameters from resource.
Expected SQL:
ALTER TABLE "REPORTING_DIM" ADD CONSTRAINT PK_REPORTING_DIM PRIMARY KEY ("TAGKEY") RELY;
Actual Behavior
Currently the SQL generated will specify more optional parameters than expected.
Generated SQL:
ALTER TABLE "REPORTING_DIM" ADD CONSTRAINT PK_REPORTING_DIM PRIMARY KEY ("TAGKEY") DEFERRABLE INITIALLY DEFERRED ENABLE RELY;
Steps to Reproduce
terraform apply
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: