jdormit-infra/prod/gitea/terraform/data.tf

15 lines
518 B
HCL

data "terraform_remote_state" "do_jeremydormitzer_com" {
backend = "s3"
config = {
skip_credentials_validation = true
skip_metadata_api_check = true
access_key = var.spaces_access_id
secret_key = var.spaces_secret_key
region = "us-east-1"
endpoint = "nyc3.digitaloceanspaces.com"
bucket = "jdormit-tf-state"
key = "mgmt/do-jeremydormitzer-com.tfstate"
}
}