Terraform Aws Route53 Cluster Zone Versions Save

Terraform module to easily define consistent cluster domains on Route53 (e.g. `prod.ourcompany.com`)

0.16.1

2 months ago
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

0.16.0

1 year ago
  • No changes

0.15.0

1 year ago
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 or var.parent_zone_name because offering both can lead to conflict or confusion. If var.parent_zone_id is removed, then we can always rely on var.parent_zone_name instead of coalescing with the output of the data.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.

0.14.0

2 years ago
feat: updates to use `replace` function instead of `template` provider @kevcube (#50)

what

  • remove unused template provider

why

  • template provider does not have darwin/arm64 binary, modules including it don't work on m1 mac.

0.13.1

2 years ago

🤖 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.

0.13.0

3 years ago
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

0.12.0

3 years ago
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

0.11.0

3 years ago
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.

0.10.0

3 years ago
Fix aws provider version for latest terraform 0.13 @reixd (#35)

what

  • Updated the required provider versions to get this module working with the latest terraform 0.13 release
  • Bump dependency versions

why

  • Without this patch this module does not work with terraform 0.13.4

0.9.0

3 years ago
Adds environment variable for null-label / zone template usage @Gowiem (#31)

what

  • Add the environment variable for usage in null-label + zone template.

why

  • Allows full usage of the null-label inputs and allows var.environment usage in subdomain template