Skip to content

Bicep build does not build multiple files (even though examples say it's supported) #2170

@NWiddup

Description

@NWiddup

Bicep version
0.3.126

Describe the bug
According to the AZ CLI Bicep help and public documentation, Bicep supports building multiple files using the --files parameter. Yet when using Bicep in the way the samples indicate, it gives an error The input file path cannot be specified multiple times..
az bicep docs says it supports az bicep build --files {bicep_file1} {bicep_file2}

To Reproduce
Install latest version of AZ CLI
Install latest version of BICEP
try to build multiple files using syntax az bicep build --files file1.bicep file2.bicep file3.bicep

Additional context
This may be an issue with the AZ CLI, however raising here as it was originally an option in BICEP.

  • Need confirmation whether this is going to be deprecated/removed.
  • Need to get the doco updated to reflect the expected behaviour.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions