Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling case-sensitivity when updating DNS records #335

Open
fuadsaud opened this issue Feb 10, 2023 · 1 comment
Open

Handling case-sensitivity when updating DNS records #335

fuadsaud opened this issue Feb 10, 2023 · 1 comment
Labels
kind/enhancement Improvements or new features

Comments

@fuadsaud
Copy link

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

I have a use case for updating a Cloudflare DNS record with the value output from an AWS Elasticbeanstalk environment's endpoint. The Beanstalk URL uses mixed case; however, it seems that Cloudflare ignores case and forces all values to be stored as lowercase values.

The consequence is that even if the Beanstalk endpoint hasn't changed, there will always be a diff between the desired state and the actual state on Cloudflare. This can be addressed by downcasing the value before passing it to the Record resource, but I'm wondering whether the resource itself should handle it; doing so would avoid surprise, semantically-irrelevant diffs.

Affected area/feature

Not sure.

@fuadsaud fuadsaud added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Feb 10, 2023
@guineveresaenger
Copy link
Contributor

Thank you for filing this issue @fuadsaud. Personally I feel that being explicit about these kinds of changes is a good default (what if Cloudflare's behavior changes?) but we'll take a look and discuss.

@guineveresaenger guineveresaenger removed the needs-triage Needs attention from the triage team label Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants