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

Add add_vpcs and add_placement_groups user grants #1720

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

stvnjacobs
Copy link

📝 Description

linodego added support for the add_vpcs and add_placement_group user grants in v1.44.0 (linode/linodego#622). At the time of writing, terraform-provider-linode is on [email protected]. This patch adds support for these fields in the linode_user resource.

✔️ How to Test

I have run make, and make unit-tests, but not run the integration tests. I believe all tests cases were updated, as I followed the same pattern used in other grants.

@stvnjacobs stvnjacobs requested a review from a team as a code owner January 15, 2025 16:30
@stvnjacobs stvnjacobs requested review from ykim-akamai and yec-akamai and removed request for a team January 15, 2025 16:30
resource.TestCheckResourceAttr(testUserResName, "global_grants.0.add_stackscripts", "false"),
resource.TestCheckResourceAttr(testUserResName, "global_grants.0.add_volumes", "false"),
resource.TestCheckResourceAttr(testUserResName, "global_grants.0.add_vpcs", "false"),
Copy link
Author

Choose a reason for hiding this comment

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

This file is what give me the most uncertainty. I confess to not digging to far into how it worked and just chose "false" in both cases.

@stvnjacobs stvnjacobs force-pushed the feat/user-grants-pg-vpc branch from 255f74d to 98f08dc Compare January 16, 2025 15:51
linodego added support for the `add_vpcs` and `add_placement_group` user
grants in v1.44.0 (linode/linodego#622). This
patch adds support for these fields in the `linode_user` resource.
@stvnjacobs stvnjacobs force-pushed the feat/user-grants-pg-vpc branch from 98f08dc to 975aadf Compare January 16, 2025 17:36
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.

1 participant