terraform.aws-baseline-infra/modules/networking/r53-record-geo
2023-11-24 21:03:56 +08:00
..
main.tf NEW: r53 record modules 2023-11-24 21:02:20 +08:00
README.md DOC: updated readme 2023-11-24 21:03:56 +08:00
variables.tf NEW: r53 record modules 2023-11-24 21:02:20 +08:00

r53-record-geo sub module

Create route53 geolocation records

Example

module "r53-www" {
  source = "../../modules/networking/r53-record-geo"

  record_name               = "www"
  record_type               = "A"
  record_values             = ["192.168.33.10"]
  set_identifier            = "Global web servers"
  record_type_locational    = "A"
  record_values_locational  = ["172.17.16.10"]
  set_identifier_locational = "China web servers"
  country_code              = "CN"
  zone_id                   = aws_route53_zone.zone.zone_id
}