-
Notifications
You must be signed in to change notification settings - Fork 359
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
[WIP] Extend identity resources & data sources #248
[WIP] Extend identity resources & data sources #248
Conversation
Build failed.
|
@gonzolino Thank you for your work on this. I see that this is still marked as It might make more sense to break this up into a few PRs. This PR includes 5 different resources (3 data sources and 2 resources), which is a lot going on. I would be OK with including, say, the Role data source and resource in a PR. So perhaps:
Additionally, would you be able to supply acceptance tests for these? If not, that's understandable, but I'll need to create some before they're merged. And finally, we'll want to include docs with these resources, too. Again, thank you for working on this. These are much needed items and it's really appreciated. Please let me know if you have any questions or need any help. edit: Sorry, a few more items (too early in the morning):
I agree with this - this is a much better name for the resource. Also, the test failure can be ignored. The failing test in question sometimes fails and it has nothing to do with the code. |
@jtopjian , thanks for your comments. |
Sounds like a good plan. 😄 I did a cursory review of the code and it all looks good to me. I can do a more detailed review once the PRs start getting split up.
Sure, no problem at all and very understandable. tests+docs is going to double the amount of work, so absolutely let me know if I can help. Docs actually aren't really bad. All docs are located in the For acceptance tests, you might be able to use an existing test file as a template. At a minimum, the But I can definitely assist with this. Acceptance tests can sometimes be a lot more complicated than the resource itself, so please let me know if you run into issues before you spend a number of hours on it 😄 |
e184f5a
to
c5ced8b
Compare
Short update: I replaced |
Build succeeded.
|
This PR adds resources
openstack_identity_role_v3
andopenstack_identity_user_role_v3
and data sourcesopenstack_identity_project_v3
,openstack_identity_role_v3
andopenstack_identity_user_v3
in an effort to improve support for the identity service in openstack.It is still a WIP. Currently there are tests missing and a
openstack_identity_group_role_v3
resource (alternatively, I am thinking about removingopenstack_identity_user_role_v3
and replacing it with a resourceopenstack_identity_role_assignment_v3
that handles role assignments for users and groups).Also, I am hoping for some feedback from maintainers, since this is my first PR on a terraform provider and I suspect that I might have made some rookie mistakes in the code ;)
The
openstack_identity_user_role_v3
resource should fix #237.