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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally specify resource suffix #15491

Closed
ferguscan opened this issue Feb 22, 2024 · 2 comments
Closed

Optionally specify resource suffix #15491

ferguscan opened this issue Feb 22, 2024 · 2 comments
Labels
kind/enhancement Improvements or new features resolution/duplicate This issue is a duplicate of another issue

Comments

@ferguscan
Copy link

ferguscan commented Feb 22, 2024

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

During local development, I use Pulumi to deploy resources to localstack. I want these resources to have predictable names, so I can easily interact with them via test scripts, etc.

On the other hand, when I deploy my infrastructure to AWS, I want my resources to have unique names (Pulumi's default behaviour). For this reason, I don't want to manually specify a name for each of my resources.

Instead, I would like to be able to (optionally) control the suffix that Pulumi applies to resource names. For my local deployment, i would specify a known, predictable suffix (e.g. dev). When deploying to AWS, I would not specify a suffix at all (letting Pulumi choose a random suffix, as per usual).

Affected area/feature

Unknown

@ferguscan ferguscan added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Feb 22, 2024
@ferguscan ferguscan changed the title Specify resource suffix Optionally specify resource suffix Feb 22, 2024
@Frassle Frassle added resolution/duplicate This issue is a duplicate of another issue and removed needs-triage Needs attention from the triage team labels Feb 22, 2024
@Frassle
Copy link
Member

Frassle commented Feb 22, 2024

Duplicate of #1518. Long standing issue but due to the distributed and non-systemic way names are handled today it's a tricky one to fix.

@Frassle Frassle closed this as completed Feb 22, 2024
@wouter-b
Copy link

Well four years later, the first issue I encountered when starting with pulumi today ;-)

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 resolution/duplicate This issue is a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants