Pergunta de entrevista da empresa BigR.io

How do you secure state files when multiple people and pipelines run terraform?

Resposta da entrevista

Sigiloso

25 de mar. de 2024

Use a remote backend like AWS or GCP to centralize state management. ● Pair this with state locking to prevent users from overwriting each other's changes. ● Take regular backups of the statefile and highly restrict access to the statefile using IAM policies. Regularlly review these policies.