Replies: 2 comments
-
This is sorta doable already but requires you to at least deploy a terraform template once and then extract from that deployment into Bicep. I can see the value of the ask as it would be good to have a tool that could point to teraform repo and convert to Bicep but otherwise being a hard and difficult ask to get right. This would be nice as a feature as part of the native bicep tooling (also in the Azure Terraform tooling too) @alex-frankel This perhaps could be something that may be potentially doable in PSBicep, whats you thoughts @SimonWahlin @StefanIvemo ? |
Beta Was this translation helpful? Give feedback.
-
I think the best approach right now is to deploy your terraform and use InsertResource in bicep vscode extension, or using the PowerShell equivalent Export-BicepResource / Export-BicepChildResource to generate bicep templates from your resources. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Convert terraform code to bicep
Describe the solution you'd like
I would like a tool/script that can convert terraform code to bicep
Beta Was this translation helpful? Give feedback.
All reactions