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

Feature Request: Add resouces for teams and members #161

Open
Skeen opened this issue Jun 22, 2022 · 5 comments
Open

Feature Request: Add resouces for teams and members #161

Skeen opened this issue Jun 22, 2022 · 5 comments
Labels
api or backend Needs to be addressed in the API backend enhancement New feature or request

Comments

@Skeen
Copy link

Skeen commented Jun 22, 2022

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"]
}
@dentarg dentarg added the enhancement New feature or request label Jun 22, 2022
@dentarg
Copy link
Member

dentarg commented Jun 22, 2022

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.

@Skeen
Copy link
Author

Skeen commented Jun 22, 2022

@dentarg I do not need the SAML options, so for my sake they can be excluded in the first revision.

@Skeen
Copy link
Author

Skeen commented Jun 22, 2022

I wanna be able to manage the full lifecycle of teams and users. Create, edit and destroy.

@dentarg
Copy link
Member

dentarg commented Jun 22, 2022

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.

@Skeen
Copy link
Author

Skeen commented Jun 22, 2022

The company is Magenta ApS, even support for inviting and removing team-members would be a big advantage.

@dentarg dentarg added the api or backend Needs to be addressed in the API backend label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api or backend Needs to be addressed in the API backend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants