Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support multiple infrastructure deployments in AZD provision cmd. #4755

Open
HadwaAbdelhalem opened this issue Feb 3, 2025 · 1 comment

Comments

@HadwaAbdelhalem
Copy link
Contributor

HadwaAbdelhalem commented Feb 3, 2025

AZD provision cmd deploys infrastructure resources in a single deployment. For some use cases, the resources can be created in separate multiple deployments for various reasons, like different resource lifecycles, different personas have access/ownership to certain resource type deployments.

Proposal:
update the azd provision cmd to specify deployment.

# Folder Structure

- Infra
  - deployment1
    - main.tf OR main Bicep
  - deployment1
   - main.tf OR main Bicep

azd provision --deployment <deploymentName> 

Deploy specific group of resources in a single deployment.

azd provision --all

Deploy all resources in all deployments/folders in parallel.
@ljtill
Copy link
Member

ljtill commented Feb 5, 2025

It would also be useful to have an option to specify whether the deployment should use Deployment Stacks (DS) or not. For example, we may want to disable DS when deploying infra/components that depend on Graph resources in Bicep, since DS currently does not support Graph resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants