-
Notifications
You must be signed in to change notification settings - Fork 18
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
IAM Role Assignment #665
base: main
Are you sure you want to change the base?
IAM Role Assignment #665
Conversation
Signed-off-by: Benjamin Ritter <[email protected]>
b1fe2c3
to
cebf615
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add also an example terraform config file please (under /examples folder)?
And you can run make generate-docs
to generate the documentation
stackit/internal/services/resourcemanager/projectroleassignment/resource_test.go
Outdated
Show resolved
Hide resolved
Sure. Just FYI: The Docs generated have a diff outside of the areas I touched. |
…roup Signed-off-by: Benjamin Ritter <[email protected]>
Signed-off-by: Benjamin Ritter <[email protected]>
Signed-off-by: Benjamin Ritter <[email protected]>
9cd3acd
to
b35a03d
Compare
Signed-off-by: Benjamin Ritter <[email protected]>
Signed-off-by: Benjamin Ritter <[email protected]>
4f27e27
to
a275197
Compare
Reattempts implementing Role Assignment as a separate resource instead of a field in an existing resource, which lead to problems with inherited group membership and general composability.
This attempt should mesh better with the internal behaviour of STACKIT API, which creates an anonymous "association object" when assigning roles: https://docs.stackit.cloud/stackit/en/identity-and-access-management-134415813.html
Currently only implements roles for STACKIT Projects, but most functionality could be broken out as a provider-internal utility to enable role assignments for other resources.
Fixes: #435