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

Manage team account role idependently #379

Open
davidfm opened this issue Nov 25, 2024 · 0 comments
Open

Manage team account role idependently #379

davidfm opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@davidfm
Copy link

davidfm commented Nov 25, 2024

I am pushing Fivetran teams from Okta and would like to be able to manage the permissions they have (on an account level), with Terraform.

At the moment I see I can create teams, and manage their account role, like this:

resource "fivetran_team" "admin" {
  name = "Admins"
  role = "Account Administrator"
}

However, that is forcing me to import the group if Okta has already created it. Otherwise, it tries to create a new one.

Having manually import a group after Okta creates it is not ideal, so being able to manage its permissions separately would be great. In a way, similarly to fivetran_team_connector_membership, fivetran_team_group_membership and fivetran_team_user_membership.

My ideal solution would be having something like this (feel free to pick a better name 🙂):

resource "fivetran_team_account_role_assigment" "my_team_admin"{
    team_id = "my_team_id"
    role    = "Account Administrator"
}

Also, having the option of filtering by team name when using data "fivetran_teams", or using team name instead of id when using data "fivetran_team" would be incredibly useful as well.

Many thanks!

@davidfm davidfm added the enhancement New feature or request label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants