jdormit-infra/mgmt/do-project-jeremydormitzer/terraform/data.tf

90 lines
2.9 KiB
Terraform
Raw Normal View History

2021-01-27 03:47:14 +00:00
data "terraform_remote_state" "gitea" {
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 03:47:14 +00:00
key = "prod/gitea.tfstate"
}
}
2021-01-27 03:47:14 +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"
2021-01-27 03:47:14 +00:00
key = "prod/syncthing.tfstate"
}
}
2021-01-27 03:47:14 +00:00
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"
2021-01-27 03:47:14 +00:00
key = "prod/justin-ghost-site.tfstate"
}
}
2021-01-27 03:47:14 +00:00
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"
2021-01-27 03:47:14 +00:00
key = "mgmt/do-dns.tfstate"
}
}
2021-01-27 03:47:14 +00:00
data "terraform_remote_state" "spaces" {
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 03:47:14 +00:00
key = "mgmt/do-spaces.tfstate"
}
}
data "terraform_remote_state" "wallabag" {
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/wallabag.tfstate"
}
}