Skip to content
>_higan

Tag: terraform

25 posts tagged with this.

Cover image for The Silent Cost of NAT Gateways: Why You Should Use 3 VPC Endpoints for ECR & S3

The Silent Cost of NAT Gateways: Why You Should Use 3 VPC Endpoints for ECR & S3

Why using NAT Gateways for AWS-internal traffic is a costly architectural mistake, and how deploying 3 specific VPC Endpoints changes the pricing model entirely.

4 min read
Read post
Cover image for Terraform Mastery: A Practical Learning Path

Terraform Mastery: A Practical Learning Path

A structured self-study path for Terraform — theory, hands-on labs, and a real project, from initial setup through production-grade infrastructure.

4 min read
Read post
Cover image for Terraform Mastery: Lộ trình học từ cơ bản đến thực chiến

Terraform Mastery: Lộ trình học từ cơ bản đến thực chiến

Lộ trình tự học Terraform có hệ thống — lý thuyết, hands-on labs và dự án thực tế, từ cài đặt đến triển khai hạ tầng production.

5 min read
Read post
Cover image for Terraform #00 — Setup & Free Practice Environment

Terraform #00 — Setup & Free Practice Environment

Install Terraform with tfenv, understand the Terraform vs OpenTofu split, and set up a safe, free practice environment using LocalStack.

6 min read
Read post
Cover image for Terraform #00 — Setup & Môi trường thực hành miễn phí

Terraform #00 — Setup & Môi trường thực hành miễn phí

Cài đặt Terraform bằng tfenv, so sánh Terraform vs OpenTofu, và dựng môi trường thực hành an toàn & miễn phí bằng LocalStack.

6 min read
Read post
Cover image for Terraform #01 — Fundamentals: HCL, Providers, Resources & Lifecycle

Terraform #01 — Fundamentals: HCL, Providers, Resources & Lifecycle

HCL syntax, providers and aliases, resource vs data source, resource lifecycle, and the core init → plan → apply → destroy workflow.

7 min read
Read post
Cover image for Terraform #01 — Nền tảng: HCL, Provider, Resource & Lifecycle

Terraform #01 — Nền tảng: HCL, Provider, Resource & Lifecycle

Cú pháp HCL, provider và alias, resource vs data source, vòng đời resource, cùng quy trình init → plan → apply → destroy.

8 min read
Read post
Cover image for Terraform #02 — State Management: Remote Backend, Locking & Import

Terraform #02 — State Management: Remote Backend, Locking & Import

A deep dive into the state file, S3 remote backend with locking, importing existing resources, and handling drift safely.

7 min read
Read post
Cover image for Terraform #02 — Quản lý State: Remote Backend, Locking & Import

Terraform #02 — Quản lý State: Remote Backend, Locking & Import

Hiểu sâu state file, remote backend S3 + locking, import tài nguyên có sẵn, và xử lý drift an toàn.

8 min read
Read post
Cover image for Terraform #03 — Variables, Outputs & Locals

Terraform #03 — Variables, Outputs & Locals

Input variables, validation, sensitive values, outputs, and locals — the building blocks for flexible, reusable Terraform code.

6 min read
Read post
Cover image for Terraform #03 — Variables, Outputs & Locals

Terraform #03 — Variables, Outputs & Locals

Input variables, validation, sensitive, outputs và locals — nền tảng để viết code linh hoạt, tái sử dụng.

7 min read
Read post
Cover image for Terraform #04 — Expressions, Functions & Data Sources

Terraform #04 — Expressions, Functions & Data Sources

Expressions, ~150 built-in functions, data sources, and how Terraform's dependency graph works.

7 min read
Read post
Cover image for Terraform #04 — Expressions, Functions & Data Sources

Terraform #04 — Expressions, Functions & Data Sources

Biểu thức, khoảng 150 hàm built-in, data sources, và cơ chế dependency graph của Terraform.

7 min read
Read post
Cover image for Terraform #05 — Loops & Conditionals: count, for_each, dynamic

Terraform #05 — Loops & Conditionals: count, for_each, dynamic

Master count vs for_each (and the index-shift trap), for expressions, dynamic blocks, and conditional resource creation.

7 min read
Read post
Cover image for Terraform #05 — Loops & Conditionals: count, for_each, dynamic

Terraform #05 — Loops & Conditionals: count, for_each, dynamic

Làm chủ count vs for_each (và bẫy index shift), for expressions, dynamic blocks, conditional creation.

7 min read
Read post
Cover image for Terraform #06 — Modules: Design, Versioning & Composition

Terraform #06 — Modules: Design, Versioning & Composition

Build reusable modules the right way: clean input/output interfaces, versioning, registry usage, and composition patterns.

6 min read
Read post
Cover image for Terraform #06 — Modules: Thiết kế, Versioning & Composition

Terraform #06 — Modules: Thiết kế, Versioning & Composition

Thiết kế module tái sử dụng đúng chuẩn: interface input/output, versioning, registry, composition.

6 min read
Read post
Cover image for Terraform #07 — Multi-Environment & Project Structure

Terraform #07 — Multi-Environment & Project Structure

Managing dev/staging/prod: workspaces vs directory-per-env, partial backend config, and when to reach for Terragrunt.

5 min read
Read post
Cover image for Terraform #07 — Multi-Environment & Cấu trúc Project

Terraform #07 — Multi-Environment & Cấu trúc Project

Quản lý dev/staging/prod: workspaces vs directory-per-env, partial backend config, Terragrunt.

6 min read
Read post
Cover image for Terraform #08 — Testing & CI/CD

Terraform #08 — Testing & CI/CD

terraform test, tflint, checkov, policy-as-code, and a proper plan-on-PR / apply-on-merge pipeline with OIDC.

6 min read
Read post
Cover image for Terraform #08 — Testing & CI/CD

Terraform #08 — Testing & CI/CD

terraform test, tflint, checkov, policy-as-code, và pipeline plan-on-PR / apply-on-merge với OIDC.

6 min read
Read post
Cover image for Terraform #09 — Security, Secrets & Safe Refactoring

Terraform #09 — Security, Secrets & Safe Refactoring

Managing secrets the right way, least-privilege infrastructure, and refactoring running production code safely using moved/import/removed blocks.

6 min read
Read post
Cover image for Terraform #09 — Security, Secrets & Refactoring an toàn

Terraform #09 — Security, Secrets & Refactoring an toàn

Quản lý secret đúng cách, least-privilege, và refactor an toàn bằng moved/import/removed blocks.

6 min read
Read post
Cover image for Terraform #10 — Capstone: 3-Tier Production Infrastructure

Terraform #10 — Capstone: 3-Tier Production Infrastructure

Everything from modules 00-09 applied to a real project: a 3-tier web infrastructure, multi-environment, reusable modules, CI/CD-ready.

3 min read
Read post
Cover image for Terraform #10 — Capstone: Hạ tầng 3-Tier Production

Terraform #10 — Capstone: Hạ tầng 3-Tier Production

Tổng hợp toàn bộ kiến thức vào một dự án thực tế: hạ tầng web 3 tầng, multi-env, module tái sử dụng.

4 min read
Read post