Skip to content

Allow conditional resource manifest argsΒ #1125

@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature / enhancement

It would be useful to have conditional args passed to resources, like OS or architecture, for example.

Proposed technical implementation details (optional)

Add a new arg object:

{
  "condition": "<expression>",
  "args": [ <args> ]
}

condition would accept a valid expression and args is only appended if condition evaluates to true. Of course, some functions won't be available.

args would be an array and itself can take any valid arg string or object.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions