Azure / Azure/pipelines

[Question/Feature-Request] Pass template parameters for deployment at approval

Open
#62 0 comments 2 reactions 0 assignees View on GitHub
need-to-triage
Dominant language
TypeScript
Stars
85
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Hello!

I'd like to be able to pass template parameters for my environment deployments when the stages are being run. My use case is that we have multiple environments, and have parameterized some features that we do not want deployed in certain environments. We parameterized this by using pipeline parameters. Currently we're setting them at the top level in our pipeline yaml file and passing them down into each deployment stage (which has been templatized).
Screen Shot 2022-05-17 at 3 38 38 PM

This solution is sub-optimal because we don't necessarily want to have the same value for this parameter injected into each deployment stage, and would rather be able to specify this in the actual deployment. Ideally, we'd be able to set the parameters as we're running the stages. Somewhere closer to here, or perhaps in the approval modal:

Screen Shot 2022-05-17 at 3 43 40 PM

Is this possible? I wasn't able to find anything in the docs related to this and I couldn't think of another way to accomplish this other than what we have already implemented.

Thanks in advance for your help!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.