Module Interface Cards
Recall the core checks for a useful Terraform module interface.
What is the first question in module review? What responsibility does this module own? If the answer is a resource list, the boundary is probably weak. Boundary More variables make the module more reusable. The module exposes every internal resource knob. Your line More variables make more decisions for every caller; which decisions should callers actually own? Equating configurability with usability. It reframes reuse around caller-owned choices and stable defaults. Module vs folder: what is the difference? A module earns its keep through a contract, not just a path. What should outputs expose? Facts downstream callers need, such as IDs,…
Sign up free — one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in