Terraform Interview Questions 4-6: Problems scenario w N developers & Using two versions of module

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 4

  • @jmakin5940
    @jmakin5940 ปีที่แล้ว +3

    A more insidious problem can develop outside of version control - when developers apply terraform changes to the remote state outside of the CD mechanism, e.g. from their personal laptop. The next time the CD Pipeline will run, it will detect these changes, and possibly overwrite them, depending on what exists in version control already, and depending on if the developer merged his changes properly. My approach to this problem is to disallow terraform apply outside of official CI/CD tooling and with approvals (if necessary).
    At minimum, the developer who notices the unauthorized changes in the CD pipeline will be very confused, and at worst overwrite critical changes on accident.

    • @mamun001
      @mamun001  ปีที่แล้ว

      Thank you!

  • @kavacham222
    @kavacham222 8 หลายเดือนก่อน +1

    Thanks for the information. I have one question. Does devops guys will write the Terraform code or any specific people who will be writing in the state file and pushing it to repository??? Just loke developers do

    • @mamun001
      @mamun001  4 หลายเดือนก่อน

      Mostly DevOps people (whoever owns the Cloud Infrastructure in a company)