Add site5 IP variable for reference

This commit is contained in:
Alexander Hosking 2017-01-31 17:15:02 -05:00
parent b5d0f3ff4c
commit d90b2abb74
3 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,7 @@ resource "aws_route53_record" "ahosking" {
name = "ahosking.com" name = "ahosking.com"
type = "A" type = "A"
ttl = "5" ttl = "5"
records = ["104.37.195.87"] records = ["${var.site5_ip}"]
} }
resource "aws_route53_record" "ahosking_wildcard" { resource "aws_route53_record" "ahosking_wildcard" {
@ -18,7 +18,7 @@ resource "aws_route53_record" "ahosking_wildcard" {
name = "*.ahosking.com" name = "*.ahosking.com"
type = "A" type = "A"
ttl = "5" ttl = "5"
records = ["104.37.195.87"] records = ["${var.site5_ip}"]
} }
resource "aws_route53_record" "ahosking_www" { resource "aws_route53_record" "ahosking_www" {

View File

@ -10,7 +10,7 @@ resource "aws_route53_record" "ahoskingit" {
name = "ahoskingit.com" name = "ahoskingit.com"
type = "A" type = "A"
ttl = "5" ttl = "5"
records = ["104.37.195.87"] records = ["${var.site5_ip}"]
} }
resource "aws_route53_record" "ahoskingit_www" { resource "aws_route53_record" "ahoskingit_www" {

View File

@ -10,6 +10,10 @@ variable "home_ip" {
default = "174.114.190.249" default = "174.114.190.249"
} }
variable "site5_ip" {
default = "104.37.195.87"
}
## KFA IP ## KFA IP
variable "kfa_ip" { variable "kfa_ip" {
default = "76.9.203.226" default = "76.9.203.226"