-
Notifications
You must be signed in to change notification settings - Fork 12
/
DNS.tf
32 lines (32 loc) · 857 Bytes
/
DNS.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#provider "dnsimple" {
#}
#
# DNS requires the use of an external DNS provider (DNSSimple)
# DNS is not required for the default setup
#
# These environment variables need to be set from your DNSSimple account
# export DNSIMPLE_ACCOUNT=
# export DNSIMPLE_TOKEN=
#
# $5 off using the link below...
# https://dnsimple.com/r/5e6042aedef10a
#
#resource "dnsimple_record" "controller-dns" {
# count = "${var.create_dns}"
#
# domain = "openstacksandiego.us"
# name = "controller-${random_id.cloud.hex}"
# value = "${metal_device.dashboard.access_public_ipv4}"
# type = "A"
# ttl = 3600
#}
#
#resource "dnsimple_record" "dashboard-dns" {
# count = "${var.create_dns}"
#
# domain = "openstacksandiego.us"
# name = "dashboard-${random_id.cloud.hex}"
# value = "${metal_device.dashboard.access_public_ipv4}"
# type = "A"
# ttl = 3600
#}