21 lines
543 B
Terraform
21 lines
543 B
Terraform
terraform {
|
|
# Local backend: stores state in the parent repo so it stays out of this
|
|
# submodule. Switch to the remote backend below once you have an S3 bucket.
|
|
# backend "local" {
|
|
# path = "./terraform.tfstate"
|
|
# }
|
|
|
|
backend "s3" {
|
|
bucket = "terraform"
|
|
key = "infra/terraform.tfstate"
|
|
region = "garage"
|
|
|
|
endpoint = "http://s3.oswaldtheotter.lan:30188"
|
|
use_path_style = true
|
|
|
|
skip_credentials_validation = true
|
|
skip_metadata_api_check = true
|
|
skip_region_validation = true
|
|
}
|
|
}
|