init: 폴더구조 설계 및 인프라 설계
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Terraform Environments
|
||||
|
||||
Each environment directory is a root module boundary.
|
||||
|
||||
Contract:
|
||||
- `dev`, `staging`, and `prod` use the same entry pattern.
|
||||
- Environment roots may compose shared modules and set environment-specific values.
|
||||
- Environment roots must not duplicate reusable module internals.
|
||||
@@ -0,0 +1,7 @@
|
||||
# dev Terraform Environment
|
||||
|
||||
Contract:
|
||||
- Owns only dev-specific Terraform root configuration.
|
||||
- Reuses modules from `../../modules` when modules exist.
|
||||
- Must not define reusable infrastructure patterns that belong in modules.
|
||||
- Add Terraform entry files here only when the dev environment is ready to be planned and applied.
|
||||
@@ -0,0 +1,7 @@
|
||||
# prod Terraform Environment
|
||||
|
||||
Contract:
|
||||
- Owns only prod-specific Terraform root configuration.
|
||||
- Reuses modules from `../../modules` when modules exist.
|
||||
- Must not define reusable infrastructure patterns that belong in modules.
|
||||
- Add Terraform entry files here only when the prod environment is ready to be planned and applied.
|
||||
@@ -0,0 +1,7 @@
|
||||
# staging Terraform Environment
|
||||
|
||||
Contract:
|
||||
- Owns only staging-specific Terraform root configuration.
|
||||
- Reuses modules from `../../modules` when modules exist.
|
||||
- Must not define reusable infrastructure patterns that belong in modules.
|
||||
- Add Terraform entry files here only when the staging environment is ready to be planned and applied.
|
||||
Reference in New Issue
Block a user