A template for maintaining a multiple environments infrastructure with Terraform. This template includes a CI/CD process, that applies the infrastructure in an AWS account.
Find and replace is not so nice, especially when you can't enforce it. It's better to convert app_name and region to secrets. This way, if the secrets are not provided, the pipeline exits.
The current example only presents a VPC module. Proving that this template is useful will be easier when it contains more resources and modules, and a larger variables.tf file