blockstream-satellite-api/terraform/data.tf

51 lines
928 B
Terraform
Raw Normal View History

2019-03-07 12:29:43 -08:00
data "terraform_remote_state" "blc-mainnet" {
2019-06-13 09:01:23 -07:00
backend = "gcs"
workspace = local.env
2019-01-18 14:57:15 -08:00
2019-05-31 07:23:30 -07:00
config = {
2019-06-13 09:01:23 -07:00
bucket = "terraform-bs-source"
prefix = "satellite-api"
2019-01-18 14:57:15 -08:00
}
}
2019-03-07 12:29:43 -08:00
data "terraform_remote_state" "blc-testnet" {
2019-06-13 09:01:23 -07:00
backend = "gcs"
workspace = "testnet-${local.env}"
2019-03-07 12:29:43 -08:00
2019-05-31 07:23:30 -07:00
config = {
2019-06-13 09:01:23 -07:00
bucket = "terraform-bs-source"
prefix = "satellite-api"
2019-03-07 12:29:43 -08:00
}
}
2020-10-28 08:51:44 -07:00
data "terraform_remote_state" "gossip-prod" {
backend = "gcs"
2021-01-26 14:05:45 -03:00
workspace = "gossip"
2020-10-28 08:51:44 -07:00
config = {
bucket = "terraform-bs-source"
2021-01-26 14:05:45 -03:00
prefix = "satellite-api-reduced-server"
2020-10-28 08:51:44 -07:00
}
}
2021-01-26 14:05:45 -03:00
data "terraform_remote_state" "auth-prod" {
backend = "gcs"
workspace = "auth"
config = {
bucket = "terraform-bs-source"
prefix = "satellite-api-reduced-server"
}
}
data "terraform_remote_state" "btc-src-prod" {
backend = "gcs"
workspace = "btc_src"
config = {
bucket = "terraform-bs-source"
prefix = "satellite-api-reduced-server"
}
}