Skip to content

az deployment what-if incorrectly quotes string values #2337

@afscrome

Description

@afscrome

Bicep version
Bicep CLI version 0.3.255 (589f037)

Describe the bug

When doing a what-if deployment through the AZ CLI, changed strings are listed with double quotes. However bicep only supports single quotes, so I'd expect these to be single quoted

  ~ Microsoft.Web/sites/SITE-NAME [2020-06-01]
    + properties.siteConfig.http20Enabled:       true
    + properties.siteConfig.linuxFxVersion:      "Docker|nginx:alphine"
    + properties.siteConfig.localMySqlEnabled:   false
    + properties.siteConfig.netFrameworkVersion: "v4.6"

To Reproduce

az deployment sub what-if sample.bicep

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions