Open nitrocode opened 3 years ago
Hi, @nitrocode Thank you for your proposal.
Unfortunately it's technically impossible for now because the ForceNew
attribute you linked is just an attribute for terraform-plugin-sdk
and is not a part of terraform plugin protocol. We cannot inspect it outside of plugin.
I agree that it would be useful if it were exposed to users via the plugin protocol so that other tools such as not only tfschema but also terraform-ls (the official LSP server) can use it. I suggest you to open a new issue to the upstream hashicorp/terraform repo.
Thanks!
Hi @minamijoyo.
Is it possible to grab the
ForceNew
arguments for resources and build a new column to show which resource arguments cause a recreation ?For example: https://github.com/hashicorp/terraform-provider-aws/blob/main/aws/resource_aws_ecs_service.go