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

Поділитися
Вставка
  • Опубліковано 3 лис 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.

  • @kavacham222
    @kavacham222 6 місяців тому +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  3 місяці тому

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