fix DNS record format

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-04-02 20:48:00 +02:00
parent f1b6c9043c
commit ffd86af498
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 4 additions and 4 deletions

View File

@ -4,8 +4,8 @@ This repo configures infrastructure for the [starterpack-service](https://github
# Endpoints
* https://prod.starter-pack.status.im/ - Production
* https://test.starter-pack.status.im/ - Testing
* https://prod-starter-pack.status.im/ - Production
* https://test-starter-pack.status.im/ - Testing
# Repo Usage

View File

@ -14,9 +14,9 @@ module "main" {
open_tcp_ports = ["80", "443"]
}
resource "cloudflare_record" "starter_dev" {
resource "cloudflare_record" "main" {
zone_id = local.zones["status.im"]
name = "starter-pack-${terraform.workspace}"
name = "${terraform.workspace}-starter-pack"
type = "A"
proxied = true
value = module.main.public_ips[0]