Terraform module scaffold
Variables, outputs, tagging, README example and an IAM justification list.
IntermediateCOMMUNITY ANALYSISTerraformOpenTofu
Write a Terraform module for {resource} targeting Terraform >= 1.6.
Rules: no hardcoded credentials or regions, every environment-specific value is a variable, all resources tagged, outputs for everything a consumer needs, a README with a working usage example.
Finish with a list of every IAM permission the module requires and the reason for each.Use Case
Standardising infrastructure for a service footprint.
Expected Result
A module that passes validate, tflint and checkov.
Related recipe