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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Providing parameter json file to deployment #134

Open
GlatBane opened this issue Mar 10, 2022 · 0 comments
Open

Feature Request: Providing parameter json file to deployment #134

GlatBane opened this issue Mar 10, 2022 · 0 comments

Comments

@GlatBane
Copy link

Description

I would like to be able to specify a parameters.json file (or equivalent) to be used with ARM templates. As it is right now the only parameter that is required for the template is the vmName controlled by the plugin.

Use case

I would like to be able to specify a parameter of type SecureString in the ARM template and then using the parameters.json to specify that the value needs to be taken from an Azure Key vault as documented here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/key-vault-parameter?tabs=azure-cli#reference-secrets-with-static-id

Suggested solutions 1

Have a single field where a json object can be specified, this object gets the vmName injected/overridden before deployment as to still be controlled by the plugin

Suggested solution 2

Have the ability to specify N number of parameters and for each parameter specify the json sub part

Added bonus points

  • For doing parameter name check between the ARM template and the parameter file
  • For supporting parameter replacements (but that seems to be a completely different change to even get access to those values from this context)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant