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

Add support for required configuration entries in pulumi new #16228

Open
aureq opened this issue May 20, 2024 · 1 comment
Open

Add support for required configuration entries in pulumi new #16228

aureq opened this issue May 20, 2024 · 1 comment
Labels
area/config pulumi config area/new pulumi new, templates kind/enhancement Improvements or new features

Comments

@aureq
Copy link
Member

aureq commented May 20, 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

Pulumi projects support templates (ref) when running pulumi new. The command prompts the user to enter values but does not force the user to provide a value (ie, a prompt may be skipped).

Both for the CLI and the New Project Wizard, adding the key required: true would require the user to enter a non-empty value, even when no default value has been specified.

Affected area/feature

  • CLI (pulumi new)
  • New Project Wizard
@aureq aureq added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team area/config pulumi config labels May 20, 2024
@Frassle
Copy link
Member

Frassle commented May 20, 2024

This is probably another case of us needing to fix #14775 first.

@justinvp justinvp added area/new pulumi new, templates and removed needs-triage Needs attention from the triage team labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config pulumi config area/new pulumi new, templates kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

3 participants