Releases: cloudposse/terraform-aws-route53-cluster-zone
v0.16.1
Sync github @max-lobur (#57)
Rebuild github dir from the template
🤖 Automatic Updates
Update README.md and docs @cloudpossebot (#59)
what
This is an auto-generated PR that updates the README.md and docs
why
To have most recent changes of README.md and doc from origin templates
v0.16.0
- No changes
v0.15.0
git.io->cloudposse.tools update @dylanbannon (#54)
what and why
Change all references to git.io/build-harness
into cloudposse.tools/build-harness
, since git.io
redirects will stop working on April 29th, 2022.
References
- DEV-143
🚀 Enhancements
don't fail if parent_zone_name is not provided @kevcube (#51)
what
- because
var.parent_zone_name
is not required by the module as of #33, let the module work if it's not provided.
why
- to use the module with a parent zone that is managed elsewhere,
parent_zone_record_enabled = false
zone_name = "$${stage}.example.com
INSTEAD OF...
parent_zone_name = "example.com"
parent_zone_record_enabled = false
zone_name = "$${stage}.$${parent_zone_name}"
alternatives considered
- main.tf:25
"$${parent_zone_name}", coalesce(join("", data.aws_route53_zone.parent_zone.*.name), var.parent_zone_name, "no_parent_zone_name")),
- I consider removing one of
var.parent_zone_id
orvar.parent_zone_name
because offering both can lead to conflict or confusion. Ifvar.parent_zone_id
is removed, then we can always rely onvar.parent_zone_name
instead of coalescing with the output of thedata.aws_route53_zone.parent_zone
feat: allow overriding SOA and NS DNS record TTL @bartelemi (#49)
what
- Provide variables to configure TTL for SOA and NS records
- Original PR: Change default values of TTL for NS from 30 seconds to 2 days (172800 seconds)
- Original PR: Change default values of TTL for SOA from 60 seconds to 15 minutes (900 seconds)
- Preserve previously-hardcoded TTLs as defaults (@osterman @korenyoni) — see below
- Added the tenant context variable to the zone name template - maybe someone will need it :)
why
Original PR: These values were hardcoded and with too small default values. DNS is supposed to be a cache, and having a low TTL of records like NS or SOA contradicts that idea.
The previously-hardcoded low TTLs are values preferred by Cloud Posse as low TTLs lead to better availability in the event of a negative DNS response, such that the negative DNS answer will not be cached for an extended period of time (see @osterman's comments in this thread).
AWS defaults for TTL:
NS - 172800s
SOA - 900s
Clousposse's defaults:
NS - 60s
SOA - 30s
references
Closes #46
Previous PR has some weird permission issues which I couldn't solve, so I forked it again into a new repo and applied the same changes.
v0.14.0
v0.13.1
🤖 Automatic Updates
Update context.tf @cloudpossebot (#45)
what
This is an auto-generated PR that updates the context.tf
file to the latest version from cloudposse/terraform-null-label
why
To support all the features of the context
interface.
v0.13.0
context.tf updated to v0.24.1, minimum required Terraform version bumped to 0.13.0 when needed, readme updated @maximmi (#44)
what
- update context.tf to v0.24.1
- minimum required Terraform version bumped to 0.13.0
- readme updated, Bridgecrew compliance badges added
why
- It allows for setting the letter case of tag names and labels, back compatibility with context v0.22.0 and below
- we have dropped support for Terraform 0.12
- To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant
v0.12.0
Terraform 0.14 upgrade @pjaudiomv (#39)
what
- Upgrade to support Terraform 0.14 and bring up to current Cloud Posse standard
why
- Support Terraform 0.14
references
trying to use this upstream with 0.14 and need to upgrade
v0.11.0
Adds flag for disabling parent zone record creation + context.tf upgrade @Gowiem (#33)
what
- Adds
var.parent_zone_record_enabled
flag for the ability to disable creating the record on the parent zone. - Adds context.tf pattern
why
- This can be used to support the parent zone being in a different account and creating this record outside of this module.