├── .gitignore ├── .terraform-version ├── .travis.yml ├── README.md ├── infrastructure ├── environments │ ├── com │ │ ├── .terraform.lock.hcl │ │ ├── config.tf │ │ ├── main.tf │ │ ├── modules │ │ │ └── notifier │ │ │ │ ├── main.tf │ │ │ │ ├── outputs.tf │ │ │ │ └── variables.tf │ │ ├── outputs.tf │ │ └── variables.tf │ ├── pre │ │ ├── .terraform.lock.hcl │ │ ├── config.tf │ │ ├── main.tf │ │ ├── outputs.tf │ │ └── variables.tf │ ├── pro │ │ ├── .terraform.lock.hcl │ │ ├── config.tf │ │ ├── db │ │ │ ├── .terraform.lock.hcl │ │ │ ├── config.tf │ │ │ ├── main.tf │ │ │ ├── outputs.tf │ │ │ └── variables.tf │ │ ├── main.tf │ │ ├── outputs.tf │ │ └── variables.tf │ └── rev │ │ ├── .terraform.lock.hcl │ │ ├── config.tf │ │ ├── main.tf │ │ ├── outputs.tf │ │ └── variables.tf └── modules │ ├── app │ ├── main.tf │ ├── outputs.tf │ └── variables.tf │ ├── db │ ├── main.tf │ ├── outputs.tf │ └── variables.tf │ └── queue │ ├── main.tf │ ├── outputs.tf │ └── variables.tf ├── package.json ├── scripts └── install_terraform.sh └── src └── index.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/.gitignore -------------------------------------------------------------------------------- /.terraform-version: -------------------------------------------------------------------------------- 1 | 1.2.3 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/README.md -------------------------------------------------------------------------------- /infrastructure/environments/com/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/com/.terraform.lock.hcl -------------------------------------------------------------------------------- /infrastructure/environments/com/config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/com/config.tf -------------------------------------------------------------------------------- /infrastructure/environments/com/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/com/main.tf -------------------------------------------------------------------------------- /infrastructure/environments/com/modules/notifier/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/com/modules/notifier/main.tf -------------------------------------------------------------------------------- /infrastructure/environments/com/modules/notifier/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/com/modules/notifier/outputs.tf -------------------------------------------------------------------------------- /infrastructure/environments/com/modules/notifier/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/com/modules/notifier/variables.tf -------------------------------------------------------------------------------- /infrastructure/environments/com/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/com/outputs.tf -------------------------------------------------------------------------------- /infrastructure/environments/com/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/com/variables.tf -------------------------------------------------------------------------------- /infrastructure/environments/pre/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pre/.terraform.lock.hcl -------------------------------------------------------------------------------- /infrastructure/environments/pre/config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pre/config.tf -------------------------------------------------------------------------------- /infrastructure/environments/pre/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pre/main.tf -------------------------------------------------------------------------------- /infrastructure/environments/pre/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pre/outputs.tf -------------------------------------------------------------------------------- /infrastructure/environments/pre/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pre/variables.tf -------------------------------------------------------------------------------- /infrastructure/environments/pro/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/.terraform.lock.hcl -------------------------------------------------------------------------------- /infrastructure/environments/pro/config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/config.tf -------------------------------------------------------------------------------- /infrastructure/environments/pro/db/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/db/.terraform.lock.hcl -------------------------------------------------------------------------------- /infrastructure/environments/pro/db/config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/db/config.tf -------------------------------------------------------------------------------- /infrastructure/environments/pro/db/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/db/main.tf -------------------------------------------------------------------------------- /infrastructure/environments/pro/db/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/db/outputs.tf -------------------------------------------------------------------------------- /infrastructure/environments/pro/db/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/db/variables.tf -------------------------------------------------------------------------------- /infrastructure/environments/pro/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/main.tf -------------------------------------------------------------------------------- /infrastructure/environments/pro/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/outputs.tf -------------------------------------------------------------------------------- /infrastructure/environments/pro/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/pro/variables.tf -------------------------------------------------------------------------------- /infrastructure/environments/rev/.terraform.lock.hcl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/rev/.terraform.lock.hcl -------------------------------------------------------------------------------- /infrastructure/environments/rev/config.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/rev/config.tf -------------------------------------------------------------------------------- /infrastructure/environments/rev/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/rev/main.tf -------------------------------------------------------------------------------- /infrastructure/environments/rev/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/rev/outputs.tf -------------------------------------------------------------------------------- /infrastructure/environments/rev/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/environments/rev/variables.tf -------------------------------------------------------------------------------- /infrastructure/modules/app/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/app/main.tf -------------------------------------------------------------------------------- /infrastructure/modules/app/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/app/outputs.tf -------------------------------------------------------------------------------- /infrastructure/modules/app/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/app/variables.tf -------------------------------------------------------------------------------- /infrastructure/modules/db/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/db/main.tf -------------------------------------------------------------------------------- /infrastructure/modules/db/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/db/outputs.tf -------------------------------------------------------------------------------- /infrastructure/modules/db/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/db/variables.tf -------------------------------------------------------------------------------- /infrastructure/modules/queue/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/queue/main.tf -------------------------------------------------------------------------------- /infrastructure/modules/queue/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/queue/outputs.tf -------------------------------------------------------------------------------- /infrastructure/modules/queue/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/infrastructure/modules/queue/variables.tf -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/package.json -------------------------------------------------------------------------------- /scripts/install_terraform.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MarcinKasprowicz/ultimate-terraform-folder-structure/HEAD/scripts/install_terraform.sh -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | console.log("Hello"); 2 | --------------------------------------------------------------------------------