Closed vikramopala closed 6 months ago
Can you please give more information on your template, how you tried deploying your code and what you were expecting?
Can you please give more information on your template, how you tried deploying your code and what you were expecting?
I am trying to paste the template.json contents to a bicep file on vscode , ealier it used to decompile to bicep now its giving an error " failed to decompile" but when i try using azure shell bash its working fine.
@vikramopala Does this happen for all templates that you paste, or just specific ones? Assuming the latter, can you share an example template that fails?
I'm also not sure what "i try using azure shell bash its working fine" means. When you do what exactly in azure shell bash? Deploy?
Thx.
Hi @vikramopala, 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:
Does this occur consistently? Repro steps:
Action: autoPasteAsBicep Error type: Error Error Message: Applying edit failed while converting pasted JSON to Bicep
Version: 0.22.6 OS: darwin OS Release: 23.4.0 Product: Visual Studio Code Product Version: 1.74.3 Language: en
Call Stack
``` pasteAsBicep.ts:359:31 ```