terraform-provider-cloudamqp
terraform-provider-cloudamqp copied to clipboard
Feature Request: Add resouces for teams and members
Hi,
We would like to manage users and teams using Terraform to automatically assign permissions and accesses to users according to our IAM system.
I imagine a resource alike:
resource "cloudamqp_team" "product_team" {
name = "Product Team"
notification_email = "[email protected]"
gdpr_email = "[email protected]"
enforce_two_factor = true
# various saml options
}
and:
resource "cloudamqp_team_member" "developer" {
team = cloudamqp_team.product_team.id
email = "[email protected]"
role = "member"
tags = ["product1"]
}
Thanks for the issue
Do you want to be able to create teams? Or only edit teams? Do you want to be able to create users? Or only edit users?
various saml options
Which ones? The more specific information on what you need the better.
@dentarg I do not need the SAML options, so for my sake they can be excluded in the first revision.
I wanna be able to manage the full lifecycle of teams and users. Create, edit and destroy.
Okay, got it. The Terraform provider can only do actions that exist in the public API: https://docs.cloudamqp.com/
Right now, there's no API for creating teams, nor creating users (only inviting them to a team).
If there's enough demand, it could be prioritised the build these APIs. Do you want to share your company name so I can log the feedback? If you don't want to share it here you can email support(https://www.cloudamqp.com/support.html) and reference this issue.
The company is Magenta ApS, even support for inviting and removing team-members would be a big advantage.