Skip to content

[Issue] Create Resource Group Deployment Based on Environment Variable #3550

@isaacrlevin

Description

@isaacrlevin

Output from azd version
Run azd version and copy and paste the output here:
azd version 1.7.0 (commit 49d6adc2efb178083f61822e6b4715258560803d)

Currently there is no automated way to trigger a resource group scoped deployment with azd. This is due to the templates generating a subscription based deployment by default for new environments. Here is my scenario

  • Use azd to build an environment based off of code (.NET Aspire)
  • Turn resource group deployments on (azd config set alpha.resourceGroupDeployments on)
  • Set the AZURE_RESOURCE_GROUP environment variable
  • azd up/provision/infra synth create a resource group scoped

This would be helpful when doing things like creating new or updating environments with CI/CD

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions