Use the module wrapper for multiple instances
masterThe wrappers sub-module implements a single module wrapper pattern. This allows you to manage multiple instances of the EC2 module within a single configuration block. This is particularly useful in environments like Terragrunt where native Terraform for_each might not be feasible for managing multiple resource copies without duplicating configuration files.
Note that this wrapper does not add any new functionality; it simply iterates over a map of items using the arguments provided by the root module.