upjet
upjet copied to clipboard
Terraform should ignore schema validation during deletion
What problem are you facing?
Terraform does not need most of the required fields during deletion but it still asks for them. While this is OK in most cases, those fields get lost in some cases due to patching and block Terraform from proceeding.
How could Terrajet help solve your problem?
We should look into whether we can disable schema validation during deletion. It's not really a problem but more about making Terraform SDK we have more robust.
Looks like there isn't an option to disable validation today https://github.com/hashicorp/terraform-plugin-sdk/issues/105