지금까지 Terraform 구성의 상태 저장은 로컬 작업 디렉토리의 terrafom.tfstate 파일에 저장되었다.
→ 만약 이런 Terraform 구성 팀으로써 여러 사용자에 의해 관리된다고 한다면, 구성 변경 적용에 대한 상태 로컬에 남기 때문에 큰 문제 발생할 수 있다.
Terraform은 구성 변경에 대한 상태 정보를 공유 저장소를 사용하여 모든 팀원이 같은 상태를 바라보게 구성하여 동일한 인프라를 관리할 수 있다.
이런 원격 상태를 저장하기 위한 저장소를 Terraform에서는 Backend라 한다.
표준 Backend : 상태저장
artifactory, azurerm, consul, cos, etcd, etcdv3, gcs, http, kubernetes, manta, oss, pg, s3, swift
향상된 Backend : 상태 저장 및 원격 작업
local : Local FileSystem (기본 Backend)
remote : Terraform Cloud