Azure / bicep

Bicep is a declarative language for describing and deploying Azure resources
MIT License
3.24k stars 748 forks source link

Unable to generate bicep file parameters in Vscode #13246

Closed devatasrilekha closed 3 months ago

devatasrilekha commented 8 months ago

Does this occur consistently? Repro steps:

  1. created test.bicep file in vscode
  2. right click on the file and click on "Generate Parameters File"

Action: command/bicep.generateParams Error type: Error Error Message: Generating parameters failed: cannot open redacted:url Detail: Unable to read file 'c:\Users\redacted:username\Desktop\Infra\Solution_Infra_New\iot.bicepparam' (Error: Unable to resolve nonexistent file 'c:\Users\redacted:username\Desktop\Infra\Solution_Infra_New\iot.bicepparam')

Version: 0.25.3 OS: win32 OS Release: 10.0.19045 Product: Visual Studio Code Product Version: 1.84.2 Language: en

Call Stack ``` GenerateParamsCommand.execute extension.js:2:2746675 extension.js:2:2749014extension.js:2:2749014 ```
stephaniezyen commented 8 months ago

Hi @StephenWeatherford can you look into this?

StephenWeatherford commented 8 months ago

@Usman0111 Muhammad this looks like your area, could you take a look? Thanks.

stephaniezyen commented 3 months ago

Can you let us know if this is still an issue?

microsoft-github-policy-service[bot] commented 3 months ago

Hi @devatasrilekha, this issue has been marked as stale because it was labeled as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 3 days of this comment. Thanks for contributing to bicep! :smile: :mechanical_arm: