.. | ||
main.tf | ||
README.md | ||
variables.tf |
r53-record sub module
Create route53 record
Example
module "r53-ftp" {
source = "../../modules/networking/r53-record"
record_name = "ftp"
record_type = "A"
record_values = ["192.168.0.100"]
zone_id = aws_route53_zone.zone.zone_id
}
module "r53-www" {
source = "../../modules/networking/r53-record"
record_name = "www"
record_type = "A"
record_values = null
alias = [
{
zone_id = "Z2LIHJ7PKBEMWN"
name = "vpce-07b8a9af30673995f-2n2ird8h.ssm.ap-east-1.vpce.amazonaws.com"
evaluate_target_health = true
}
]
zone_id = aws_route53_zone.zone.zone_id
}