Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Resource Property Display--Optional, Computed, ForceNew #22

Open
28mm opened this issue Feb 11, 2018 · 0 comments
Open

Feature: Resource Property Display--Optional, Computed, ForceNew #22

28mm opened this issue Feb 11, 2018 · 0 comments

Comments

@28mm
Copy link
Owner

28mm commented Feb 11, 2018

Blast Radius displays resource definitions as json blobs, without syntax highlighting or annotations of any kind. (json rather than hcl because pyHCL made this easier.)

Because the primary concern of Blast Radius is understanding the scope of change-sets, it would be useful if resource properties were marked to indicate whether:

  • required : true, or
  • ForceNew : true

In order to build a library of resource auto-completions, the vim-terraform project collects the top 100(?) projects from GitHub that match the pattern terraform-provider-*, then applies some perl or what-have-you to obtain resource names and associated properties.

It would be interesting to borrow as much of this code as is easily adaptable, and do something similiar for Blast Radius. I expect the ForceNew property to be of particular interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant