Skip to content

feat!: Add support for geoproximity routing policy. Upgraded TF version to 1.3.2 #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

bhutkovskyysos
Copy link
Contributor

@bhutkovskyysos bhutkovskyysos commented May 17, 2024

Description

This change extends the route53 records module by adding support for geoproximity routing policy.

Motivation and Context

AWS recently added support for geopriximity routing and this change will allow creation of records using that new policy. The module currently does not support it.

Breaking Changes

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

@bhutkovskyysos bhutkovskyysos changed the title add support for geoproximity routing policy feat: Add support for geoproximity routing policy May 17, 2024
@bhutkovskyysos
Copy link
Contributor Author

Hi @antonbabenko, Is there any chance we could get this approved and merged? Thx!

@antonbabenko antonbabenko changed the title feat: Add support for geoproximity routing policy feat!: Add support for geoproximity routing policy. Upgraded TF version to 1.3. Jun 8, 2024
set_identifier = "nyc"
geoproximity_routing_policy = {
coordinates = {
latitude = "40.7128"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Value 40.7128 produced an error:

│ Error: creating Route53 Record: operation error Route 53: ChangeResourceRecordSets, https response error StatusCode: 400, RequestID: 54c0a63c-e5b4-4fda-864b-a10e3cc928a7, InvalidInput: Invalid XML ; javax.xml.stream.XMLStreamException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 237; cvc-pattern-valid: Value '40.7128' is not facet-valid with respect to pattern '[-+]?(90|[0-8]{0,1}[0-9](\.[0-9]{0,2})?)' for type 'Latitude'.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm odd, it worked for me locally when I tested. Thank you for catching and fixing it!

@antonbabenko antonbabenko changed the title feat!: Add support for geoproximity routing policy. Upgraded TF version to 1.3. feat!: Add support for geoproximity routing policy. Upgraded TF version to 1.3.2 Jun 8, 2024
@antonbabenko antonbabenko merged commit 461eef2 into terraform-aws-modules:master Jun 8, 2024
10 checks passed
antonbabenko pushed a commit that referenced this pull request Jun 8, 2024
## [3.0.0](v2.11.1...v3.0.0) (2024-06-08)

### ⚠ BREAKING CHANGES

* Add support for geoproximity routing policy. Upgraded TF version to 1.3.2 (#105)

### Features

* Add support for geoproximity routing policy. Upgraded TF version to 1.3.2 ([#105](#105)) ([461eef2](461eef2))
@antonbabenko
Copy link
Member

This PR is included in version 3.0.0 🎉

Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants