Skip to content

Commit 3368344

Browse files
committed
Distinguish between a proxied and non-proxied domain
This way you can ssh to clojurians-log-internal.clojureverse.org.
1 parent 3539c48 commit 3368344

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

clojurians_log/main.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,15 @@ output "username" {
5555

5656
resource "cloudflare_record" "clojurians_log" {
5757
domain = "clojureverse.org"
58-
name = "${local.instance_name}"
58+
name = "${local.instance_name}-internal"
5959
value = "${exoscale_compute.clojurians_log.ip_address}"
6060
type = "A"
6161
}
62+
63+
resource "cloudflare_record" "clojurians_log" {
64+
domain = "clojureverse.org"
65+
name = "${local.instance_name}"
66+
value = "${exoscale_compute.clojurians_log.ip_address}"
67+
type = "A"
68+
proxied = true
69+
}

0 commit comments

Comments
 (0)