Releases: terraform-modules/aws-dynamic-route53
Releases · terraform-modules/aws-dynamic-route53
2.0.6
2.0.5
add context and event id to sns message; add output on mismatch heritage
- 2.0.4 -- 2023-05-17
- code 2.0.4
- add context info and event id to SNS messages
- add heritage mismatch information to output
- code 2.0.4
fix emr cluster detection
- 2.0.3 -- 2023-05-11
- code 2.0.3
- fix emr cluster detection
- code 2.0.3
added pagination to get zones by vpc
- 2.0.1 -- 2023-04-29
- code 2.0.1
- add pagination for list hosted zone by vpc (as some vpcs have hundreds of zones, specifically the one with dns endpoints)
- code 2.0.1
refactor: flags, cleans up properly, emr capability
- 2.0.0 -- 2023-04-28
- code 2.0.0
- use sessions
- make assume role call to remote account where PHZ is defined
- add dns entries to the DDB item, so that on stop/terminate we delete only what was added
- add flags: noforward, noptr, noheritage, nocname
- add data: boc:dns:ptrname
- add detection of a runnign EMR cluster with aws:elasticmapreduce: job-flow-id (cluster) and instance-group-role and use this to
set an alias defined in boc:dns:cname ({friendlyname}.master), but if it is a cluser node, only use the cname if it is master. If
it is not a cluster, set the cname
- code 2.0.0
change map() to {}
- 1.0.1 -- 2022-10-28
- change map() to {}
release
change version to test heritage code
- 0.3.1 - 2022-04-26
- change version purely to test heritage code handling a version change
code 0.3.0, cleanup of deletes, heritage verification
- 0.3.0 -- 2022-04-18
- created a new def process_delete_record function to combine "repeating" tasks between A, PTR, and CNAME process. The code was combined with what was there before. Instead of doing the same process over 3 times, I just created a function and call it 3 times.
- The def process_delete_record function performs:
- checks TXT heritage validation (do I own it? does the instance ID match?)
- Also sends SNS notification if heritage validation fails.
- If not not pass validation, it skips deletion and sns notify
- If so, it deletes the records - (A, PTR, or CNAME and associated TXT)
- Fixed LOGGER.info lines that had a typo (missing parameter) in the sns notification caller. Example line 2274 but several others.
- Fixed lOGGER.info to convert MAX_API_RETRY to string when writing to log. Example line 2264 but several others.
- Updated new_get_resource_record with several fixes.
- Return "" instead of Non if not found -- better align with parent function that calls it.
- Checks the value of the list_resource_record_sets to match what should be returned. This is because the list_resource_record_sets API returns the next record (instead of matching exact) so wrong record can be retrieved if we do not check it.
- MaxItem value changed to string.
- Fixed def parse_heritage to add more logging and better input validation
- Fixed def get_heritage_item to check input type and add more logging