Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

sort aliases before comparing#409

Open
fceller wants to merge 1 commit into
hashicorp:mainfrom
fceller:bug-fix/email-aliases
Open

sort aliases before comparing#409
fceller wants to merge 1 commit into
hashicorp:mainfrom
fceller:bug-fix/email-aliases

Conversation

@fceller

@fceller fceller commented Feb 11, 2023

Copy link
Copy Markdown

See #360

In order to avoid changes on every run, first sort the aliases and then compare.

@hoangmirs

Copy link
Copy Markdown

Can we merge this PR?

@SamuZad

SamuZad commented May 11, 2024

Copy link
Copy Markdown

@SamuZad

SamuZad commented May 11, 2024

Copy link
Copy Markdown

Update on this: this introduced a new (and imo quite annoying problem) - if one commented out the aliases attribute completely but the previous iteration had aliases, the plan would say "no changes" this is because the d.HasChange("aliases") would not be able to return the new value properly - hence SamuZad@cbc7086

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