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

[Bug]: multiple roles with same deployment id is incorrect invalid #152

Open
BasPH opened this issue Oct 1, 2024 · 0 comments
Open

[Bug]: multiple roles with same deployment id is incorrect invalid #152

BasPH opened this issue Oct 1, 2024 · 0 comments

Comments

@BasPH
Copy link

BasPH commented Oct 1, 2024

Description

I tried running the import script, but it failed with this error:

│ Error: Invalid Configuration: Cannot have multiple roles with the same deployment id
│
│   with astro_user_roles.user_ckw3ronxn3977574jzaglzxs4r4,
│   on generated.tf line 1:
│   (source code not available)
│
│ Please provide unique deployment id for each role. The following deployment ids are duplicated: [cm0ur2mlf15r201odxdgfaztx]
╵
Failed to run Terraform command: exit status 1

This is however a valid state in Astro. It is correct that you can only attach a single role directly to a user. However, it is possible in a deployment to have a user with a role attached, and have a different role attached to the same user via a Team.

Could you support this scenario in the Terraform provider?

Steps To Reproduce

No response

Acceptance Criteria

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant