Skip to content

Inline support with parameter file #1213

@Gijsreyn

Description

@Gijsreyn

Summary of the new feature / enhancement

As a configuration author,
I want to provide both inline parameters and parameters file together,
So during a run, I can dynamically pass in values.

Currently, when ever you try to pass inline parameters including a parameter file, it throws an error:

error: the argument '--parameters-file <PARAMETERS_FILE>' cannot be used with '--parameters '

This is not helpful were you dynamically fetch values during runtime and then pass it along to the configuration document.

Proposed technical implementation details (optional)

Allow both inline values and parameters file together. Taking a look at Bicep's parameter precedence:

You can use inline parameters and a local parameters file in the same deployment operation. For example, you can specify some values in the local parameters file and add other values inline during deployment. If you provide values for a parameter in both the local parameters file and inline, the inline value takes precedence.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions