From 54a6d7e9cfe7c64e7d9cf9154d5ff18008fe666c Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 24 Mar 2023 17:14:35 -0400 Subject: [PATCH] fix --- a/README.md | 1 + a/entry.tf | 9 ++++++++- aaaa/README.md | 1 + aaaa/entry.tf | 9 ++++++++- 4 files changed, 18 insertions(+), 2 deletions(-) mode change 120000 => 100644 a/entry.tf mode change 120000 => 100644 aaaa/entry.tf diff --git a/a/README.md b/a/README.md index d688486..36ed402 100644 --- a/a/README.md +++ b/a/README.md @@ -95,3 +95,4 @@ The record looks like: | [availability\_zone\_suffixes](#output\_availability\_zone\_suffixes) | VPC Availability zone suffix list | | [heritage\_name](#output\_heritage\_name) | DNS Name created for the heritage record, if enabled | | [name](#output\_name) | DNS Name created (same as what was provided) | +| [timestamp](#output\_timestamp) | Record creation Unix timestamp (from heritage records) | diff --git a/a/entry.tf b/a/entry.tf deleted file mode 120000 index f43d394..0000000 --- a/a/entry.tf +++ /dev/null @@ -1 +0,0 @@ -../common/entry.tf \ No newline at end of file diff --git a/a/entry.tf b/a/entry.tf new file mode 100644 index 0000000..c9f5106 --- /dev/null +++ b/a/entry.tf @@ -0,0 +1,8 @@ +resource "aws_route53_record" "entry" { + count = length(local.ipv4_hosts) > 0 ? 1 : 0 + zone_id = data.aws_route53_zone.zone.zone_id + name = var.name + type = local.rr_type + ttl = var.ttl + records = local.values +} diff --git a/aaaa/README.md b/aaaa/README.md index a3cf1fd..f09a051 100644 --- a/aaaa/README.md +++ b/aaaa/README.md @@ -87,3 +87,4 @@ No modules. | [availability\_zone\_suffixes](#output\_availability\_zone\_suffixes) | VPC Availability zone suffix list | | [heritage\_name](#output\_heritage\_name) | DNS Name created for the heritage record, if enabled | | [name](#output\_name) | DNS Name created (same as what was provided) | +| [timestamp](#output\_timestamp) | Record creation Unix timestamp (from heritage records) | diff --git a/aaaa/entry.tf b/aaaa/entry.tf deleted file mode 120000 index f43d394..0000000 --- a/aaaa/entry.tf +++ /dev/null @@ -1 +0,0 @@ -../common/entry.tf \ No newline at end of file diff --git a/aaaa/entry.tf b/aaaa/entry.tf new file mode 100644 index 0000000..ba8cce4 --- /dev/null +++ b/aaaa/entry.tf @@ -0,0 +1,8 @@ +resource "aws_route53_record" "entry" { + count = length(local.ipv6_hosts) > 0 ? 1 : 0 + zone_id = data.aws_route53_zone.zone.zone_id + name = var.name + type = local.rr_type + ttl = var.ttl + records = local.values +}