Infrastructure as Code
테라폼이나 앤서블을 배우기 전에, 그 도구들이 왜 그렇게 생겼는지를 먼저 익힙니다. 원하는 상태를 선언하고, 현재 상태를 읽고, 차이를 계산해 적용하는 3분할 구조를 셸과 JSON 으로 직접 만들어 봅니다. 멱등성과 상태 파일, 드리프트와 잠금까지 다루면 어떤 IaC 도구를 잡아도 화면이 읽힙니다. 그다음 OpenTofu 로 plan 읽기·상태 잠금과 암호화·드리프트·import·모듈 버전을 오프라인 실습에서 실제로 돌립니다.
중급 · 레슨 19 · 실습 10
커리큘럼
Thinking Declaratively
Idempotency
State Management
Drift and Import
- Somebody Changed It in the Console reading
- Folding Copy-Pasted Code Into Modules reading
- Monday's apply tried to delete the rule fixed by hand on Friday night lab
- Two repositories kept reverting the same config file lab
- The security rule was copy-pasted to three places and prod was missed lab
- Quiz: Drift and Modules quiz