1.2 KiB
1.2 KiB
layout | page_title | sidebar_current | description |
---|---|---|---|
remotestate | Remote State Backend: swift | docs-state-remote-swift | Terraform can store the state remotely, making it easier to version and work with in a team. |
swift
Stores the state as an artifact in Swift.
Example Usage
terraform remote config \
-backend=swift \
-backend-config="path=random/path"
Example Referencing
data "terraform_remote_state" "foo" {
backend = "swift"
config {
path = "random/path"
}
}
Configuration variables
The following configuration option is supported:
path
- (Required) The path where to storeterraform.tfstate
insecure
- (Optional) Allow "insecure" SSL requests. Defaults tofalse
.
The following environment variables are supported:
OS_AUTH_URL
- (Required) The identity endpointOS_USERNAME
- (Required) The usernameOS_PASSWORD
- (Required) The passwordOS_REGION_NAME
- (Required) The regionOS_TENANT_NAME
- (Required) The name of the tenantOS_DOMAIN_ID
- (Optional) The ID of the domainOS_DOMAIN_NAME
- (Optional) The name of the domain