add A records for explorer (#2)

add A records for avalanche explorer

Signed-off-by: Arthur Koziel <arthur@arthurkoziel.com>
This commit is contained in:
Arthur Koziel 2021-03-11 12:52:16 +08:00 committed by GitHub
parent bfedabad10
commit cca07bb43b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

View File

@ -24,3 +24,19 @@ resource "cloudflare_record" "wallet" {
proxied = false
value = module.avalanche.public_ips[1]
}
resource "cloudflare_record" "explorerapi" {
zone_id = local.zones["status.im"]
name = "avax-explorerapi.infra"
type = "A"
proxied = false
value = module.avalanche.public_ips[2]
}
resource "cloudflare_record" "explorer" {
zone_id = local.zones["status.im"]
name = "avax-explorer.infra"
type = "A"
proxied = false
value = module.avalanche.public_ips[2]
}