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
Currently use Terraform to manage Snowflake schema has high risk.
Proposal
It would be great to support avoiding destroy Snowflake schema if has any tables inside. Thanks!
For instance, AWS Terraform modules will prevent the destruction of a resource if there are any elements nested within it. For example, if there are IAM users within an IAM group, the destruction process will fail with an error:
│ Error: deleting IAM Group (MyIAMGroup): DeleteConflict: Cannot delete entity, must remove users from group first.
│ status code: 409, request id: 3f99ee73-64d3-4b26-8d82-affddbb7a0d5
Likewise, attempting to destroy a S3 bucket containing files will also result in failure.
Terraform CLI and Provider Versions
Use Cases or Problem Statement
Currently use Terraform to manage Snowflake schema has high risk.
Proposal
It would be great to support avoiding destroy Snowflake schema if has any tables inside. Thanks!
For instance, AWS Terraform modules will prevent the destruction of a resource if there are any elements nested within it. For example, if there are IAM users within an IAM group, the destruction process will fail with an error:
Likewise, attempting to destroy a S3 bucket containing files will also result in failure.
How much impact is this issue causing?
High
Additional Information
prevent_destroy = true
The text was updated successfully, but these errors were encountered: