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

Create a new resource stack #171

Closed
aureq opened this issue Oct 5, 2023 · 2 comments · Fixed by #357
Closed

Create a new resource stack #171

aureq opened this issue Oct 5, 2023 · 2 comments · Fixed by #357
Assignees
Labels
customer/feedback Feedback from customers kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Milestone

Comments

@aureq
Copy link
Member

aureq commented Oct 5, 2023

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

When running pulumi new ... or pulumi stack init, it would be helpful if this provider could create new empty stacks and manage the stack through this provider.

@aureq aureq added the kind/enhancement Improvements or new features label Oct 5, 2023
@mnlumi mnlumi added the customer/feedback Feedback from customers label Oct 17, 2023
@cleverguy25 cleverguy25 added this to the 0.107 milestone Jun 21, 2024
@cleverguy25 cleverguy25 removed this from the 0.107 milestone Jul 1, 2024
@IaroslavTitov
Copy link
Contributor

Hello there!
Would you please explain the use case for a resource like that? Like, why would like to create empty stacks?

Normally, anytime you want to create new resources, a stack is created as part of pulumi up, through pulumi CLI or deployments, or whichever way.
This provider is for Pulumi Cloud resources, while Stacks are a concept whether you're using Pulumi Cloud or not.

@IaroslavTitov
Copy link
Contributor

Chatted on slack, the intent is to enforce a naming pattern on stacks, by essentially "reserving" a stack name, then adding TeamStackPermissions to a specific team to work on it.

@komalali komalali added this to the 0.108 milestone Jul 15, 2024
@komalali komalali self-assigned this Jul 22, 2024
komalali added a commit that referenced this issue Jul 25, 2024
Create a Stack resource, so users can manage stacks within their pulumi
program. This can enable, for example, the ability to ascribe naming
conventions to stacks, or to create a stack with deployment settings and
a schedule to regularly run updates, etc.

Tested this by updating one of the existing deployment settings tests to
use this resource as the underlying stack. Also tested `import` and
`refresh` manually.

Fixes #171
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer/feedback Feedback from customers kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants