2020-12-04 14:10:23 +00:00
|
|
|
data "terraform_remote_state" "jdormit_website" {
|
|
|
|
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 = "prod/jdormit-website.tfstate"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
data "terraform_remote_state" "git_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"
|
2021-01-27 02:57:40 +00:00
|
|
|
key = "prod/gitea.tfstate"
|
2020-12-04 14:10:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
data "terraform_remote_state" "syncthing" {
|
|
|
|
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 = "prod/syncthing.tfstate"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
data "terraform_remote_state" "justin_ghost_site" {
|
|
|
|
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 = "prod/justin-ghost-site.tfstate"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
data "terraform_remote_state" "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-dns.tfstate"
|
|
|
|
}
|
|
|
|
}
|