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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress diff for ipv6 shortening in dns record #1551

Merged
merged 1 commit into from
May 29, 2018

Conversation

rosbo
Copy link
Contributor

@rosbo rosbo commented May 28, 2018

Fixes #1546.

The Google API always return the compact version of an ipv6 address for a dns record:
"2a03:b0c0:0001:00e0:0000:0000:029b:8001" is shortened to "2a03:b0c0:1:e0::29b:8001". This creates a diff in terraform. However, both refers to the same address.

This PR adds a DiffSupressFunc to handle this case.

Copy link
Contributor

@nat-henderson nat-henderson left a comment

Choose a reason for hiding this comment

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

Cool! That's neat and convenient.

@rosbo rosbo merged commit e4c9b2d into hashicorp:master May 29, 2018
@rosbo rosbo deleted the diff-suppress-ipv6-shortening branch May 29, 2018 21:43
@ghost
Copy link

ghost commented Nov 18, 2018

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 18, 2018
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.

2 participants