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

fix(GenericEntityOutline): addition of tags to attributes returned #1051

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

pranav-new-relic
Copy link
Member

@pranav-new-relic pranav-new-relic commented Aug 18, 2023

This PR addresses the addition of tags to GenericEntityOutline in order to make tags accessible by Terraform, which is needed to facilitate a change in the Terraform Provider to the data source newrelic_synthetics_private_location, in which the key of a private location is to be retrieved from the tags returned.

(note: given that Tutone is running into errors when trying to refetch the entities package, this change has been manually added).

unblocks
newrelic/terraform-provider-newrelic#2446
newrelic/terraform-provider-newrelic#2453 (same PR but reopened)

@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2023

Codecov Report

Merging #1051 (651ce13) into main (2e930e5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1051   +/-   ##
=======================================
  Coverage   41.30%   41.30%           
=======================================
  Files          79       79           
  Lines        4995     4995           
=======================================
  Hits         2063     2063           
  Misses       2784     2784           
  Partials      148      148           
Flag Coverage Δ
unit 41.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
pkg/entities/entities_api.go 0.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment on lines +2108 to +2111
tags {
key
values
}
Copy link
Member Author

Choose a reason for hiding this comment

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

blank comment to allow GitHub to display this file

@pranav-new-relic pranav-new-relic marked this pull request as ready for review August 23, 2023 17:29
@pranav-new-relic pranav-new-relic merged commit b26d308 into main Sep 1, 2023
8 of 9 checks passed
@pranav-new-relic pranav-new-relic deleted the fix/private-location-key branch September 1, 2023 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants