Azure / Azure/bicep

Add ability to create resource group and it's resources in single Bicep file without use of module

Open
#1,431 6 comments 7 reactions 0 assignees View on GitHub
enhancement
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

This would simplify the very common scenario of creating a resource group, then create resources within it. The resource group is either left out and created via CLI first OR the workaround is to set targetScope to subscription, create resource group resource, then use a module to create the resources within the resource group. For simplicity's sake, I should be able to create all of my infrastructure in a single file.

Contributor guide

Open the contributing guide

Research direction

Start with the CLI-first and subscription targetScope/module workflows described in the issue, then trace how a single Bicep file is parsed and deployed across resource-group and subscription scopes. Done means one file can create the resource group and its resources without requiring a module or a separately created resource group.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.