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

Add support for wildcards in stack permissions #459

Open
baughj opened this issue Sep 26, 2024 · 2 comments
Open

Add support for wildcards in stack permissions #459

baughj opened this issue Sep 26, 2024 · 2 comments
Labels
kind/enhancement Improvements or new features

Comments

@baughj
Copy link

baughj commented Sep 26, 2024

There is currently no way to add stacks to group permissions as they are created (so far as I can tell) and the grant stack access does not allow wildcards:

Image

Right now we have something like 80 stacks across dozens of projects. Manually adding these to permission sets is not great.

Ideally, you could do something like grant a group permission to */dev to grant access to "all projects with stacks named dev" or foobar/* to grant access to "all stacks in the foobar project". At the very least I think the */dev form should be added.

This would be a very nice improvement as it is kind of a pain for onboarding larger engineering organizations (eg you start with a POC and want to expand it globally).

@baughj baughj added the kind/enhancement Improvements or new features label Sep 26, 2024
@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Sep 26, 2024
@meagancojocar
Copy link
Contributor

Thank you for this feedback! We are currently kicking off a project to handle assignment of stacks to Teams so I would love to get your thoughts once we have some options designed.

In terms of workarounds today there are 3:

  1. You can add a team flag on stack init to auto add it to a team or multiple teams blog here
  2. You can use the Pulumi Service Provider to add stacks into Teams and manage permissions in a pulumi project. You can implement custom logic as well.
  3. You can use the REST API directly and write a script to move stacks to teams based on your requirements.

@meagancojocar meagancojocar removed the needs-triage Needs attention from the triage team label Sep 26, 2024
@baughj
Copy link
Author

baughj commented Oct 3, 2024

@meagancojocar thanks! these are all helpful options, we'll definitely use them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants