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

Getting this error when using parameters: Warning: WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'. #173

Open
roldengarm opened this issue Feb 26, 2024 · 2 comments

Comments

@roldengarm
Copy link

Initially I passed all parameters inline, all was fine. After I added a .bicepparam file & supplied that for the parameters parameter of the action, I get this warning:

Warning: WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.

Works fine:

      - name: deploy
        uses: azure/arm-deploy@v2
        id: deploy
        with:
          subscriptionId: ${{ vars.AZURE_SUBSCRIPTION }}
          resourceGroupName: ${{ vars.AZURE_RG }}
          template: ./infrastructure/main.bicep
          scope: resourcegroup
          parameters: 'param1=PARAM1 param2=PARAM2'
          failOnStdErr: false

Warning occurs with:

      - name: deploy
        uses: azure/arm-deploy@v2
        id: deploy
        with:
          subscriptionId: ${{ vars.AZURE_SUBSCRIPTION }}
          resourceGroupName: ${{ vars.AZURE_RG }}
          template: ./infrastructure/main.bicep
          scope: resourcegroup
          parameters: './infrastructure/main.bicepparam'
          failOnStdErr: false
@judyanndixon
Copy link

I was able to get rid of the warning by adding this to my workflow before using the azure/arm-deploy@v2:

  • run: az config set bicep.use_binary_from_path=false

Found this here..

https://stackoverflow.com/questions/75400862/github-azure-arm-deploy-actions-fails-when-a-new-bicep-version-is-available

This solves a bigger issue than just a warning so good to know all of it.

@ThomasAunvik
Copy link

ThomasAunvik commented Nov 7, 2024

@judyanndixon this would have been good if this also didn't happen...

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants