DOC: updated readme

This commit is contained in:
xpk 2023-11-24 21:03:56 +08:00
parent b37b681657
commit e39ad9e1c4
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -3,16 +3,17 @@ Create route53 geolocation records
## Example ## Example
```hcl ```hcl
module "georecord" { module "r53-www" {
source = "./submodule/r53-record-geo" source = "../../modules/networking/r53-record-geo"
record_name = "products"
record_name = "www"
record_type = "A" record_type = "A"
record_values = ["1.2.3.4"] record_values = ["192.168.33.10"]
set_identifier = "DNS record for unspecified locations" set_identifier = "Global web servers"
record_type_locational = "A" record_type_locational = "A"
record_values_locational = ["5.6.7.8"] record_values_locational = ["172.17.16.10"]
set_identifier_locational = "DNS record for China" set_identifier_locational = "China web servers"
country_code = "CN" country_code = "CN"
zone_id = "r53-zone-id" zone_id = aws_route53_zone.zone.zone_id
} }
``` ```