Skip to content

Presets: Support a default preset #18110

@bpmct

Description

@bpmct

Presets are designed to give developers a "fast" way into a workspace with pre-filled parameters with sensible defaults. However a user still may "pick" a preset the the template's sensible default is None.

In many cases, a template admin will want to have a Default Preset where the user has to opt-out of those defaults.

Example

data "coder_preset" "standard" {
+  default = true #new
   name = "Standard" 
}

In this case, it would be pre-selected. This has the combined value of allowing devs to default to a pre-build

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy