How to properly use azd up with multiple environments or teams? #5487
-
Hey folks! 👋 I'm experimenting with azd for setting up some Azure infrastructure in a team context, and I was wondering: What’s the best way to manage multiple environments (e.g. dev, staging, prod) using azd up, especially when several developers are working on the same project? I’ve seen references to environment names and configurations, but I’m not entirely sure how to structure things when each team member has their own Azure subscription or resource group. Should we be using different .azure folders, or is there a cleaner way to handle this? Any real-world setup tips or gotchas would be super helpful! Thanks a lot 😊 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey Matteo 👋 — great question! When working with ✅ What works best:
💡 Pro tips:
|
Beta Was this translation helpful? Give feedback.
Hey Matteo 👋 — great question!
When working with
azd
in a team or across multiple environments (like dev, staging, and prod), here's how to keep things clean and collaborative:✅ What works best:
Create a separate environment for each case
azd env new dev
,azd env new staging
,azd env new john-dev
, etc.Let each developer have their own environment
azd env
can target a different Azure subscription or resource group.Don't worry about the
.azure
folderazd
manages it for each environment automatically..g…