Skip to content

Aws terraform

Terraform ModulesΒΆ

The code in this repository is divided into 3 partions, which is maybe updated later if there are many resources in one state file, which will make terraform sync excuting for a much longer time. Then we can consider seprate them into a few sub-folders or levels.

The code in this repository is divided into three partions, which is maybe updated later if there are many resources in one state file, which will make terraform sync excuting for a much longer time. Then we can consider seprate them into a few sub-folders or levels.

  β”œβ”€β”€β”€modules
  β”‚   β”œβ”€β”€β”€terraform-aws-iam
  β”‚   β”œβ”€β”€β”€terraform-aws-s3-bucket
  β”‚   β”œβ”€β”€β”€terraform-aws-security-group
  β”‚   β”œβ”€β”€β”€terraform-aws-sns
  β”‚   β”œβ”€β”€β”€terraform-aws-transit-gateway
  β”‚   β”œβ”€β”€β”€terraform-aws-vpc
  β”‚   β”œβ”€β”€β”€terraform-gwlbe-plus-vpc
  β”‚   └───terraform-gwlbe-tgw-vpc

Directory StructureΒΆ

  β”œβ”€β”€β”€.github
  β”‚   └───workflows
  β”œβ”€β”€β”€account
  β”‚   β”œβ”€β”€β”€management
  β”‚   β”‚   β”œβ”€β”€β”€aws-account-creation
  β”‚   β”‚   β”‚   β”œβ”€β”€β”€codebuild-infrastructure
  β”‚   β”‚   β”‚   β”‚   └───target-account-role-for-codebuild
  β”‚   β”‚   β”‚   └───roles
  β”‚   β”‚   β”‚       β”œβ”€β”€β”€aws-account-create
  β”‚   β”‚   β”‚       β”œβ”€β”€β”€creating-vpc-infra
  β”‚   β”‚   β”‚       β”œβ”€β”€β”€deploying-aws-config
  β”‚   β”‚   β”‚       β”œβ”€β”€β”€deploying-aws-patching
  β”‚   β”‚   β”‚       └───notify-cyber
  β”‚   β”‚   β”œβ”€β”€β”€org-iam-password-policy
  β”‚   β”‚   β”œβ”€β”€β”€organization
  β”‚   β”‚   β”‚   └───resource-explorer-stacksets
  β”‚   β”‚   β”œβ”€β”€β”€policy
  β”‚   β”‚   └───sso
  β”‚   β”œβ”€β”€β”€335083429030
  β”‚   β”‚   β”œβ”€β”€β”€ami-notification
  β”‚   β”‚   β”œβ”€β”€β”€aws-backup-central-vault
  β”‚   β”‚   β”œβ”€β”€β”€centralized-patching
  β”‚   β”‚   β”‚   └───myzip
  β”‚   β”‚   β”œβ”€β”€β”€config-reporting
  β”‚   β”‚   β”‚   β”œβ”€β”€β”€audit-account-resources
  β”‚   β”‚   β”‚   └───ops-account-resources
  β”‚   β”‚   β”‚       └───myzip
  β”‚   β”‚   └───kms-account
  β”‚   β”œβ”€β”€β”€339712777494
  β”‚   β”‚   β”œβ”€β”€β”€jde-prod-backup
  β”‚   β”‚   β”‚   └───myzip
  β”‚   β”‚   └───SRE-auto-patching
  β”‚   β”œβ”€β”€β”€363435891329
  β”‚   β”‚   └───SRE-auto-patching
  β”‚   β”œβ”€β”€β”€462910953389
  β”‚   β”‚   └───vams-nz-elec-inbound-sec-backupvault
  β”‚   β”‚       └───myzip
  β”‚   β”œβ”€β”€β”€463205522876
  β”‚   β”‚   β”œβ”€β”€β”€shared-services-backup
  β”‚   β”‚   β”‚   └───myzip
  β”‚   β”‚   β”œβ”€β”€β”€shared_services_vpc_0
  β”‚   β”‚   β”œβ”€β”€β”€shared_services_vpc_1
  β”‚   β”‚   └───SRE-auto-patching
  β”‚   β”œβ”€β”€β”€507583929055
  β”‚   β”‚   └───au-metering-elec-mass-sit
  β”‚   β”‚       └───myzip
  β”‚   β”œβ”€β”€β”€543347808867
  β”‚   β”‚   β”œβ”€β”€β”€vams-nz-elec-internal-prod-new-vpc
  β”‚   β”‚   β”œβ”€β”€β”€vpc-0cf0f603ab7045c96
  β”‚   β”‚   └───vpc-0f4028a2f9aac7f8b
  β”‚   β”œβ”€β”€β”€614294421455
  β”‚   β”‚   └───Workspace-replace
  β”‚   β”œβ”€β”€β”€637423383469
  β”‚   β”‚   └───infra
  β”‚   β”œβ”€β”€β”€695366013198
  β”‚   β”‚   β”œβ”€β”€β”€arc-prod-patching
  β”‚   β”‚   └───SRE-auto-patching
  β”‚   β”œβ”€β”€β”€761860562159
  β”‚   β”‚   β”œβ”€β”€β”€vams-nz-elec-internal-preprod-new-vpc
  β”‚   β”‚   β”œβ”€β”€β”€vams-nz-elec-internal-sit-new-vpc
  β”‚   β”‚   β”œβ”€β”€β”€vams-nz-elec-internal-uat-new-vpc
  β”‚   β”‚   β”œβ”€β”€β”€vpc-04f57a10490bc866c
  β”‚   β”‚   β”œβ”€β”€β”€vpc-0858281e8167aee2f
  β”‚   β”‚   └───vpc-09d5b2439d4ae30f5
  β”œβ”€β”€β”€global