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 TeamEnvironmentPermission resource #179

Closed
ekkohdev opened this issue Oct 19, 2023 · 2 comments
Closed

Add TeamEnvironmentPermission resource #179

ekkohdev opened this issue Oct 19, 2023 · 2 comments
Assignees
Labels
kind/enhancement Improvements or new features
Milestone

Comments

@ekkohdev
Copy link

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

With the introduction of Pulumi ESC it would be very useful for this provider to be able to create/delete an Environment, as well as grant Environment permissions to Teams. We use a centralised GitHub repo and this provider to provide a self-service way for teams to manage things like Pulumi Cloud Teams and Stack Permissions for those Teams. We would like to do the same for Environments.

There is a wider issue (pulumi/esc#63) describing the ability to manage the desired state of an Environment from this provider. This request however is simply to manage the existence of the Environment and Team permissions for it, not the state within it.

Examples

const env = new pulumiservice.Environment("team-owned-environment", {
    organization: "acme-corp",
    name: "team-owned-environment",
});
new pulumiservice.TeamEnvironmentPermission(
    "team-a-team-owned-environment,
    {
        organization: "acme-corp",
        team: "team-a",
        environment: "team-owned-environment",
        permission: pulumiservice.TeamEnvironmentPermissionScope["Write"],
    },
    { dependsOn: env },
);

Affected area/feature

  • Pulumi ESC
  • Pulumi Cloud Service
@komalali
Copy link
Member

komalali commented May 6, 2024

Renaming this issue to specifically be about TeamEnvironmentPermission - tracking the Environment resource in #225

@komalali komalali changed the title Add Environment and TeamEnvironmentPermission Add TeamEnvironmentPermission resource May 6, 2024
@IaroslavTitov IaroslavTitov self-assigned this May 6, 2024
@cleverguy25 cleverguy25 added this to the 0.104 milestone May 6, 2024
@IaroslavTitov
Copy link
Contributor

Resolved in #279
Closing issue

Environment resource will be added in #271, as part of another issue

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

4 participants