Plan/Apply (Terraform) - CI/CD Glossary Definition
In Terraform, plan produces a preview of the changes required to reach the desired state, and apply executes that plan against real infrastructure.
In Terraform, plan produces a preview of the changes required to reach the desired state, and apply executes that plan against real infrastructure.
In Terraform, plan produces a preview of the changes required to reach the desired state, and apply executes that plan against real infrastructure.
Pipeline pattern
Run terraform plan -out=tfplan on pull requests for review, then terraform apply tfplan on merge so the applied change is exactly the reviewed plan.
Related guides
Drift Detection - CI/CD Glossary DefinitionDrift Detection: Drift detection compares the real state of infrastructure against the declared configuration…
State Locking - CI/CD Glossary DefinitionState Locking: State locking prevents concurrent operations from writing to the same infrastructure state fil…
Remote Backend - CI/CD Glossary DefinitionRemote Backend: A remote backend stores Terraform state in a shared remote location (such as S3, GCS, or Terr…