## one region
![[Image-13-05-2025.png]]
- only diff on envs is variables
- code structure is equal for each env
- we can have one version of deployment each time
- don't have code duplication
- but terraform code should have higher quality
## if multiregion:
![[Image-13-05-2025-1.png]]
## structure
![[Image-13-05-2025-2.png]]
- do not put secrets into code
- use secrets vaults
## CI/CD
![[Image-13-05-2025-3.png]]
[original talk](https://www.youtube.com/watch?v=_3VA_RyrRQE)