Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Maintain backwards compatability with route53 #217

Merged
merged 4 commits into from
Nov 2, 2016

Conversation

rdickey-r7
Copy link
Contributor

Description

Changes alias_target and geo_location in a route53_recordset to allow either json or a resource_property

Motivation and Context

Previously, users needed to specify the json for alias_target and
geo_location for a route53_recordset. In the add-alb branch, merged in
PR 214, this was changed in a backwards-incompatible way, requiring
anyone who had previously specified json to now specify a block for the
resource_property. Now, either way is acceptable.

This is potentially a paradigm that can be used elsewhere, as there are
many places where a resource_property would be appropriate, but has not
existed and users have implemented the functionality directly with a
json (or ruby hash) object. This will allow us to deprecate that method
in favor of the more clean resource_property approach, without breaking
everything in a 1.0 upgrade.

Usage Examples

Testing Steps

Post-merge Steps

rdickey and others added 4 commits November 1, 2016 21:28
Previously, users needed to specify the json for alias_target and
geo_location for a route53_recordset.  In the add-alb branch, merged in
PR 214, this was changed in a backwards-incompatible way, requiring
anyone who had previously specified json to now specify a block for the
resource_property.  Now, either way is acceptable.

This is potentially a paradigm that can be used elsewhere, as there are
many places where a resource_property would be appropriate, but has not
existed and users have implemented the functionality directly with a
json (or ruby hash) object.  This will allow us to deprecate that method
in favor of the more clean resource_property approach, without breaking
everything in a 1.0 upgrade.
@erran-r7 erran-r7 merged commit 95ca621 into master Nov 2, 2016
@erran-r7 erran-r7 deleted the backward-compat-recordset branch November 2, 2016 15:58
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants