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

Immutable newrelic_entity_tags are not filtered anymore #1422

Closed
b-viguier opened this issue Aug 19, 2021 · 5 comments
Closed

Immutable newrelic_entity_tags are not filtered anymore #1422

b-viguier opened this issue Aug 19, 2021 · 5 comments

Comments

@b-viguier
Copy link

Hello 👋 😃

Since 2.24.1, immutable newrelic_entity_tags are not filtered, it means that immutable tags like monitorStatus or monitorType are listed for deletion by the provider (fortunately, it's not possible to delete them).
It has already been reported in #766 and fixed in newrelic/newrelic-client-go#462 : the ListTags function calls a new function filterMutable.

But recently, ListTags has been deprecated and replaced by GetTagsForEntity (see https://github.com/newrelic/terraform-provider-newrelic/pull/1347/files#diff-e2ac9cf2bc502dba7eddd8043ab326231737f12dc963bdbc5f24b170b8b4b561 ). This function doesn't call filterMutable, then built-in NewRelic tags are listed for modification 😕

Thanks for your work 🙇‍♂️

@stale
Copy link

stale bot commented Sep 3, 2021

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Sep 3, 2021
@stale
Copy link

stale bot commented Sep 10, 2021

This issue has been automatically closed due to a lack of activity for an extended period of time.

@stale stale bot closed this as completed Sep 10, 2021
@joshuaakelly
Copy link

This issue is still occuring in v2.25

@kidk kidk added pinned and removed stale labels Oct 5, 2021
@kidk
Copy link
Contributor

kidk commented Oct 5, 2021

Thanks for report @joshuaakelly and @b-viguier

We'll take a look.

@b-viguier
Copy link
Author

Thanks! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants