Thanks to the new command s-infra check_tf_metadata - we're now able to detect deviations from standard best practices, including: missing module docstrings, missing descriptions on variables, and missing standard input or output variables.
In combination with the new auto-documentation feature, these cleanup steps will drastically improve the quality of Infra Catalog documentation.
Once these are resolved, the next step would be to implement the below check in the CI/CD framework so that new contributors will have clear guidance on the degree to which new modules are meeting code standards.
Thanks to the new command
s-infra check_tf_metadata
- we're now able to detect deviations from standard best practices, including: missing module docstrings, missing descriptions on variables, and missing standard input or output variables.In combination with the new auto-documentation feature, these cleanup steps will drastically improve the quality of Infra Catalog documentation.
Once these are resolved, the next step would be to implement the below check in the CI/CD framework so that new contributors will have clear guidance on the degree to which new modules are meeting code standards.
Running this command:
Generates this output:
Blank module headers:
Missing required input variables:
Missing required output variables:
Missing input variable descriptions:
Missing output variable descriptions: