[Terraform]Moduleを作ると環境毎のデプロイが便利 | DevelopersIO 2021
TerraformのModuleを作成する(VPC) - ねずみさん家。の日常
TerraformでEC2、セキュリティグループを作成する - Qiita
Input Output
[Terraform]Module間の値の受け渡しについて | DevelopersIO 2020
https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws/latest
モジュールに対してProviderを指定したい
Terraformでリソースやモジュールに適用するProviderを、エイリアスで指定する - CLOVER🍀
https://registry.terraform.io/modules/terraform-aws-modules/acm/aws/latest
versions.tf で required_providers を設定