Skip to content

Commit

Permalink
fix: replace local copy of geoip db with shared one. (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
xav authored Oct 4, 2023
1 parent 2a9c907 commit a71dba0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions terraform/inputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ data "terraform_remote_state" "org" {
# }
#}

data "terraform_remote_state" "dns" {
data "terraform_remote_state" "infra_aws" {
backend = "remote"
config = {
organization = "wallet-connect"
workspaces = {
name = "dns-delegation"
name = "infra-aws"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion terraform/res_application.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
data "aws_s3_bucket" "geoip" {
bucket = "keyserver.${module.this.stage}.geoip.database.private.walletconnect"
bucket = data.terraform_remote_state.infra_aws.outputs.geoip_bucked_id
}

# ECS Cluster, Task, Service, and Load Balancer for our app
Expand Down
2 changes: 1 addition & 1 deletion terraform/res_dns.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
zones = { for k, v in tomap(data.terraform_remote_state.dns.outputs.zones.keyserver[local.stage]) : v.id => v.name }
zones = { for k, v in tomap(data.terraform_remote_state.infra_aws.outputs.zones.keyserver[local.stage]) : v.id => v.name }
zones_certificates = { for k, v in module.dns_certificate : v.zone_id => v.certificate_arn }
}

Expand Down

0 comments on commit a71dba0

Please sign in to comment.