Last Updated on August 13, 2025 by Arnav Sharma
Nubesgen is an excellent open-source tool that can be used to generate Infrastructure-as-code configuration files with Terraform or Bicep for Azure web app-related projects.
PS – The support for code generation is limited to some resources. You can’t generate the code for everything atm.
Refer : NubesGen – going to production on Azure is only one `git push` away.
And head to the generate option (Nu)
Choose the code type:

Give a name to the project, choose a location and the application type:

Choose the DB (if needed), the size and network config:

Choose the Add-ons and click on Download option:

The files along with Modules will be auto-generated:

The modules will contain the resources and main file will have all the inputs calling the module files:


I help organisations secure their cloud infrastructure and stay ahead of evolving cyber threats. Microsoft MVP and Certified Trainer, author of Mastering Azure Security, and founder of arnav.au — a platform for practical Cloud, Cybersecurity, DevOps and AI content.
Frequently Asked Questions
Nubesgen is an open-source tool that automatically generates Infrastructure-as-code configuration files in either Terraform or Bicep format for Azure web app-related projects. It simplifies the process of creating IaC files by allowing users to configure their infrastructure through a user-friendly interface and then download the generated code.
Nubesgen's code generation support is limited to certain resources, meaning you cannot generate code for all Azure resources currently. It's important to review the documentation and understand that some infrastructure components may still need to be manually configured or added after generation.
To configure a project in Nubesgen, you start by giving your project a name, choosing a location, and selecting the application type. Then you can choose your database requirements (if needed), specify the size, configure network settings, and select any add-ons before downloading the generated files.
Nubesgen generates Terraform or Bicep configuration files including module files and a main file. The module files contain individual resource definitions, while the main file serves as the entry point that contains all the inputs and calls to the various module files.
Nubesgen's generated code can help you get close to production-ready infrastructure with just a `git push`, but you should review and potentially customize the generated files based on your specific requirements. It's recommended to test the infrastructure thoroughly and verify that all your business requirements are met before deploying to production.