Difference between revisions of "Terraform backends"
Jump to navigation
Jump to search
↑ https://www.terraform.io/language/settings/backends/s3
(20 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
* <code>[[backend.tf]]</code> | * <code>[[backend.tf]]</code> | ||
− | + | == Backends == | |
https://www.terraform.io/language/settings/backends/configuration#available-backends | https://www.terraform.io/language/settings/backends/configuration#available-backends | ||
− | * [[Terraform S3 backend]] | + | * [[Terraform S3 backend]] <ref>https://www.terraform.io/language/settings/backends/s3 |
− | * [[Terraform S3 backend: | + | </ref>: <code>[[bucket]]</code> |
− | * [[gcs]] | + | * [[Terraform S3 backend: dynamodb_table]]: <code>[[key]]</code> |
− | * [[local]] | + | * <code>[[gcs]]</code> |
+ | * [[Terraform local backend|local]] | ||
+ | * <code>[[Terraform backend: remote|remote]]</code> | ||
* [[consul]] | * [[consul]] | ||
− | |||
* [[COS]]: [[Tencent Cloud Object Storage (COS)]] | * [[COS]]: [[Tencent Cloud Object Storage (COS)]] | ||
* [[Kubernetes]] | * [[Kubernetes]] | ||
Line 15: | Line 16: | ||
* [[azurerm]] | * [[azurerm]] | ||
+ | * [[Remote state backends to manage Terraform state]] | ||
− | Deprecated | + | === Deprecated === |
* [[artifactory]] | * [[artifactory]] | ||
* [[etcd]] | * [[etcd]] | ||
* [[Manta]] | * [[Manta]] | ||
* [[swift]] | * [[swift]] | ||
− | |||
− | |||
== Related terms == | == Related terms == | ||
* <code>[[terraform workspace]]</code> | * <code>[[terraform workspace]]</code> | ||
+ | * [[Terraform providers]]: <code>[[provider.tf]]</code> | ||
* <code>[[terraform state]] [pull | push]</code> | * <code>[[terraform state]] [pull | push]</code> | ||
* <code>[[AWS_PROFILE]]</code> | * <code>[[AWS_PROFILE]]</code> | ||
− | * <code>[[profile]]</code> https://www.terraform.io/docs/language/settings/backends/s3.html#profile | + | * [[Terraform S3 backend]]: <code>[[profile]]</code> https://www.terraform.io/docs/language/settings/backends/s3.html#profile |
− | |||
− | |||
* [[Terraform Associate]]: Handle backend [[authentication methods]] | * [[Terraform Associate]]: Handle backend [[authentication methods]] | ||
* <code>[[local]]</code> backend | * <code>[[local]]</code> backend | ||
* [[Workspaces]] and [[locking]] | * [[Workspaces]] and [[locking]] | ||
− | |||
* <code>[[Terraform has been successfully initialized!]]</code> | * <code>[[Terraform has been successfully initialized!]]</code> | ||
+ | * <code>[[terraform init -backend-config]]</code> | ||
+ | * <code>[[.terraform]]</code> | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[Error: Backend configuration changed]]</code> | ||
== See also == | == See also == | ||
* {{Terraform backends}} | * {{Terraform backends}} | ||
+ | * {{HCP}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 15:52, 10 July 2024
https://www.terraform.io/language/settings/backends
Backends[edit]
https://www.terraform.io/language/settings/backends/configuration#available-backends
- Terraform S3 backend [1]:
bucket
- Terraform S3 backend: dynamodb_table:
key
gcs
- local
remote
- consul
- COS: Tencent Cloud Object Storage (COS)
- Kubernetes
- pg (PostgreSQL)
- azurerm
Deprecated[edit]
Related terms[edit]
terraform workspace
- Terraform providers:
provider.tf
terraform state [pull | push]
AWS_PROFILE
- Terraform S3 backend:
profile
https://www.terraform.io/docs/language/settings/backends/s3.html#profile - Terraform Associate: Handle backend authentication methods
local
backend- Workspaces and locking
Terraform has been successfully initialized!
terraform init -backend-config
.terraform
Errors[edit]
See also[edit]
- Terraform backends:
S3
,Terraform S3 backend: dynamodb table
,GCS, remote
- HCP, HCP Vault,
app.terraform.io
, HCP Terraform Agents, Terraform backend: remote
Advertising: