etcd (deprecated)
Note: The etcd
backend is deprecated and will be removed in a future Terraform release.
Stores the state in etcd 2.x at a given path.
This backend does not support state locking.
Example Configuration
terraform { backend "etcd" { path = "path/to/terraform.tfstate" endpoints = "http://one:4001 http://two:4001" }}
Data Source Configuration
data "terraform_remote_state" "foo" { backend = "etcd" config = { path = "path/to/terraform.tfstate" endpoints = "http://one:4001 http://two:4001" }}
Configuration Variables
Warning: We recommend using environment variables to supply credentials and other sensitive data. If you use -backend-config
or hardcode these values directly in your configuration, Terraform will include these values in both the .terraform
subdirectory and in plan files. Refer to Credentials and Sensitive Data for details.
The following configuration options are supported: