diff --git a/README.md b/README.md index ace9c8b..49c9aae 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ module "route53_o365" { source = "tiguard/route53-o365/aws" domain = "example.com" - zone_id = "${aws_route53_zone.zone_name.zone_id}" + zone_id = "${data.aws_route53_zone.zone_name.zone_id}" ms_txt = "ms12345678" enable_exchange = true enable_sfb = true diff --git a/examples/existing-zone/README.md b/examples/existing-zone/README.md index df7c8c7..45c32fb 100644 --- a/examples/existing-zone/README.md +++ b/examples/existing-zone/README.md @@ -1,4 +1,4 @@ -# Using the module with an existing Route53 zone +# Usage with an existing Route53 hosted zone If you already have a Route53 hosted zone for the domain, the `aws_route53_zone` data source should be used to find the zone ID. diff --git a/examples/new-zone/README.md b/examples/new-zone/README.md index 16aabfb..efabf40 100644 --- a/examples/new-zone/README.md +++ b/examples/new-zone/README.md @@ -1,6 +1,6 @@ -# Using the module with a new Route53 zone +# Usage with a new Route53 hosted zone -If you're creating a new Route53 hosted zone for the domain, the `aws_route53_zone` resource can pass the new zone ID to the module. +If you're creating a new Route53 hosted zone for the domain, the `aws_route53_zone` resource should pass the new zone ID to the module. ```hcl resource "aws_route53_zone" "zone" {