upjet icon indicating copy to clipboard operation
upjet copied to clipboard

Terraform should ignore schema validation during deletion

Open muvaf opened this issue 3 years ago • 1 comments

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.

muvaf avatar Sep 21 '22 07:09 muvaf

Looks like there isn't an option to disable validation today https://github.com/hashicorp/terraform-plugin-sdk/issues/105

muvaf avatar Sep 21 '22 08:09 muvaf