diff --git a/README.md b/README.md
index 443aa1c..196694a 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
- Terraform AWS Route table
+ Terraform AWS Route53 Record
@@ -24,13 +24,13 @@
-
+
-
+
-
+
@@ -65,59 +65,34 @@ This module has a few dependencies:
## Examples
-**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/terraform-aws-route-table/releases).
+**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/terraform-aws-route53-record/releases).
Here are some examples of how you can use this module in your inventory structure:
### Simple set
```hcl
- module "route-table" {
- record_enabled = true
- zone_id = "Z2FDRFHATA1ER4"
- names = [
- "www.",
- "admin."
- ]
- types = [
- "A",
- "CNAME"
- ]
- ttls = [
- "3600",
- "3600",
- ]
- values = [
- "10.0.0.27",
- "mydomain.com",
- ]
+ module "route53-record" {
+ source = "git::https://github.com/clouddrove/terraform-aws-route53-record.git?ref=tags/0.12.1"
+ zone_id = "Z1XJD7SSBKXLC1"
+ name = "www"
+ type = "A"
+ ttl = "3600"
+ values = "10.0.0.27"
}
```
### Set with alias
```hcl
- module "route-table" {
- source = "git::https://github.com/clouddrove/terraform-aws-route-table.git?ref=tags/0.12.0"
- record_enabled = true
- zone_id = "Z2FDRFHATA1ER4"
- names = [
- "www.",
- "admin."
- ]
- types = [
- "A",
- "CNAME"
- ]
- alias = {
- names = [
- "d130easdflja734js.cloudfront.net"
- ]
- zone_ids = [
- "Z2FDRFHATA1ER4"
- ]
- evaluate_target_healths = [
- false
- ]
- }
+ module "route53-record" {
+ source = "git::https://github.com/clouddrove/terraform-aws-route53-record.git?ref=tags/0.12.1"
+ zone_id = "Z1XJD7SSBKXLC1"
+ name = "www."
+ type = "A"
+ alias = {
+ name = "d130easdflja734js.cloudfront.net"
+ zone_id = "Z2FDRFHATA1ER4"
+ evaluate_target_health = false
+ }
}
```
@@ -131,21 +106,22 @@ Here are some examples of how you can use this module in your inventory structur
| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| alias | An alias block. Conflicts with ttl & records. Alias record documented below. | map | `