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
When you have a module that takes an object as a variable, and one of those variable names is in our list of ordered elements (folder_id, project_id, etc.) the linter flags them as being in the wrong position even though they cannot be anywhere else.
main.tf:5: The attribute "folder_id" must me below any meta attributes (e.g. "for_each", "count") but above all other attributes. Attributes must be ordered organization > folder > project.
Expected behavior
This should not be flagged as an error.
Observed behavior
No response
Environment Details
abcxyz/pkg@main
Additional information
No response
The text was updated successfully, but these errors were encountered:
TL;DR
When you have a module that takes an object as a variable, and one of those variable names is in our list of ordered elements (folder_id, project_id, etc.) the linter flags them as being in the wrong position even though they cannot be anywhere else.
Example:
This will result in a linter error such as:
Expected behavior
This should not be flagged as an error.
Observed behavior
No response
Environment Details
Additional information
No response
The text was updated successfully, but these errors were encountered: