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
If we are going to rename resources I'd say updating all expressions that reference them is essential. Generating moved blocks is more of a bonus.
Also, I'm thinking moved block generation should be off by default. Ideally your linter runs before any state is modified. But it certainly makes sense to offer it as a configurable option when migrating a project with existing state.
Yeah, agreed to both! I will look into updating all references, is there a tflint native mechanism for this? I only saw mechanisms for updating code at the specific lint location.
The introduction of moved blocks means that we can now statically rename resources.
Here is an example test case of what I'm proposing.
WIP PR
The text was updated successfully, but these errors were encountered: