In our company we have a multi account in AWS approach, meaning we have a differnet account for different environment (common, staging, production).
When i first started the structure my directories I followed the best practice guidelines from hashicorp which meant to separate to different directories per service per region per account.
inside the tf-files.tf i have all the code i need to manage my infrastructure, but as of now im not working my custom modules to replicate the behavior, im simply copy-pasting the code and changing names.
Why i chose that? because im working with tf cloud remote execution and wanted to make it simple and not create my modules repositories in our github.
My question is, is there a better way to manage my infrastructure code, in terms of making a change in one env and wanting it to be identical in the other envs. are modules my only way?