Backends
Backends 定义储存介质 state
Backend Types
Backend Types 支援多種儲存方式,以 S3 為例:
terraform {
backend "s3" {
bucket = "terraform-101-ap-northeast-1-123456789"
key = "terraform.tfstate"
dynamodb_table = "terraform-state-locking"
region = "ap-northeast-1"
}
}
Last updated
Was this helpful?