60 lines
1.9 KiB
Terraform
60 lines
1.9 KiB
Terraform
|
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"
|
||
|
key = "prod/gitea.tfstate"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
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" "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"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
data "terraform_remote_state" "freshrss" {
|
||
|
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/freshrss.tfstate"
|
||
|
}
|
||
|
}
|