~/talk

Terraform Infrastructure as Code: Best Practices and Common Mistakes

Talkat DevOps Pro Europe 2021 · 2021-05-11..05-13· [devops-and-delivery]
links:none on file
slides:none on file

Declares concrete rules: always use backend state from the beginning and run Terraform from CI/CD with forced plan and approval; toggle environment differences with booleans and count or dynamic blocks (dynamic requires map inputs) and prefer try() for optional module fields; create a module only after at least two consumers, version modules and pin dependencies, keep feature branches short (typically under a day), and avoid using Terraform for VM configuration management instead use Ansible/Chef/Puppet and Packer for images.

AI-written summary · about

  1. 0:00Introduction
  2. 0:25Who am I
  3. 2:13Terminology
  4. 4:34How Terraform Works
  5. 6:08Terraform Project Structure
  6. 8:05Terraform Project Patterns
  7. 10:14Terraform Environments
  8. 12:10Try Function
  9. 13:31Audit History
  10. 15:09Evolution
  11. 16:39Feature branching
  12. 17:54Manual approvals
  13. 18:51Module Creation
  14. 20:13Thin proxies
  15. 20:58Inappropriate lookups
  16. 22:02Undocumented modules
  17. 22:59Unplanned work
  18. 23:52Hammer and nail problem
  19. 25:31Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.