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

Create examples of deployments via command line #536

Closed
shawngib opened this issue Nov 18, 2021 · 2 comments
Closed

Create examples of deployments via command line #536

shawngib opened this issue Nov 18, 2021 · 2 comments
Labels
bicep Related to Bicep code documentation Improvements or additions to documentation

Comments

@shawngib
Copy link
Member

shawngib commented Nov 18, 2021

Benefit/Result/Outcome

We currently have a base exmaple/s set for deploying MLZ. It might benefit customers to see those examples in bash, PowerShell and using json via portal. These examples could use:

for example creating parameter object in PowerShell:
image

creating parameters via file:

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "<first-parameter-name>": {
      "value": "<first-value>"
    },
    "<second-parameter-name>": {
      "value": "<second-value>"
    }
  }
}

Description

Ideally the examples will include a default parameter file they can customize, some default script commands they can copy and paste.

Acceptance Criteria

  • Deployment examples to reflect using all available parameters:
    • PowerShell
      - with object
      - with file
      - command line directly
    • Bash command az cli:
      - with object
      - with file
      - command line directly
@shawngib shawngib added needs triage bicep Related to Bicep code labels Nov 18, 2021
@brooke-hamilton brooke-hamilton added documentation Improvements or additions to documentation and removed needs triage labels Nov 22, 2021
@brooke-hamilton
Copy link
Contributor

I'm temporarily removing this from a project backlog. Part of this work was done with #595 and I want to add scope for modifying the Bicep examples to be able to use any of these forms of setting parameters: PowerShell object, environment variables, parameters file, command line, and shared variable file pattern. That will mean removing the hard-coded references to a specific file path and providing each type of invocation with each example, but it will also allow adding the compiled ARM templates back into the source repo.

I will create a new backlog item that contains the scope above and close this one.

@brooke-hamilton
Copy link
Contributor

I created #618 to represent this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bicep Related to Bicep code documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants