Skip to content

Conversation

mfhodges
Copy link
Contributor

@mfhodges mfhodges commented May 13, 2024

Description

The User API will be deprecating the is-site-admin attribute in favor of is-admin which was introduced yesterday

This is a one-line change since this variable is being referenced anywhere yet in go-tfe.

Docs updates hashicorp/terraform-docs-common#636 will be merged once the next release is cut

Testing plan

External links

Output from tests

Including output from tests may require access to a TFE instance. Ignore this section if you have no environment to test against.

$ TFE_ADDRESS="https://example" TFE_TOKEN="example" go test ./... -v -run TestFunctionsAffectedByChange

...

@mfhodges mfhodges force-pushed the mfhodges/tf-10833-user-api-leverages-is-admin-attribute branch from 565b98f to 45aeb26 Compare May 13, 2024 20:28
@mfhodges mfhodges marked this pull request as ready for review May 15, 2024 14:04
@mfhodges mfhodges requested a review from a team as a code owner May 15, 2024 14:04
@mfhodges mfhodges changed the title Updates User API deprecated attribute is-site-admin to leverage is-admin Updates User API attribute is-site-admin to leverage is-admin May 15, 2024
@mfhodges mfhodges force-pushed the mfhodges/tf-10833-user-api-leverages-is-admin-attribute branch from bc83acd to 87910d2 Compare May 15, 2024 20:11
@mfhodges mfhodges requested a review from brandonc May 15, 2024 20:24
@mfhodges mfhodges force-pushed the mfhodges/tf-10833-user-api-leverages-is-admin-attribute branch from 87910d2 to 93c1875 Compare May 15, 2024 20:28
Co-authored-by: Brandon Croft <[email protected]>
@mfhodges mfhodges force-pushed the mfhodges/tf-10833-user-api-leverages-is-admin-attribute branch from 93c1875 to adc4792 Compare May 15, 2024 20:28
Copy link
Collaborator

@brandonc brandonc left a comment

Choose a reason for hiding this comment

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

sorry one more

@brandonc
Copy link
Collaborator

Let's add a CHANGELOG entry as well. Be sure to include it under a header called ## Deprecations

@mfhodges mfhodges force-pushed the mfhodges/tf-10833-user-api-leverages-is-admin-attribute branch from 82adf39 to 8c85270 Compare May 15, 2024 21:18
@mfhodges mfhodges requested a review from brandonc May 16, 2024 13:10
@mfhodges mfhodges force-pushed the mfhodges/tf-10833-user-api-leverages-is-admin-attribute branch from 8c85270 to 74dc153 Compare May 21, 2024 16:00
@mfhodges mfhodges requested a review from brandonc May 21, 2024 16:01
@brandonc brandonc merged commit b8020e3 into main May 21, 2024
@brandonc brandonc deleted the mfhodges/tf-10833-user-api-leverages-is-admin-attribute branch May 21, 2024 17:55
Copy link

Reminder to the contributor that merged this PR: if your changes have added important functionality or fixed a relevant bug, open a follow-up PR to update CHANGELOG.md with a note on your changes.

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.

2 participants