Skip to content

Commit eeefc2a

Browse files
committed
Tweaks
1 parent 02025b4 commit eeefc2a

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

articles/azure-developer-cli/environments-overview.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ The Azure Developer CLI (`azd`) lets you manage multiple deployment environments
1515

1616
## What are environments?
1717

18-
An environment in the Azure Developer CLI (`azd`) context represents a named collection of configuration settings, environment variables, and infrastructure parameters associated with a specific deployment of your application. Environments serve several important purposes:
18+
An environment in the Azure Developer CLI (`azd`) is a separate deployed copy of your application running in Azure. Different environments can configured with different values. Environments serve several important purposes:
1919

2020
- **Isolation**: Keep development, testing, staging, and production deployments separate.
2121
- **Configuration management**: Maintain different settings for each environment.
2222
- **Collaboration**: Enable team members to work with their own environments.
2323
- **Resource organization**: Group and provision Azure resources by environment, such as using lower tier services for dev environments.
2424
- **Reproducibility**: Ensure consistent deployments across different stages.
2525

26-
Each environment has its own Azure resource group and configuration settings. The environment name typically follows the pattern `rg-<environment-name>`, but this is not enforced by `azd` and is configurable by the user. This environment isolation helps prevent changes in one environment from affecting others.
26+
Each environment has its own Azure resource group and configuration settings. This environment isolation helps prevent changes in one environment from affecting others.
2727

28-
## Environment structure and configuration files
28+
## Environment structure and configuration
2929

3030
Azure Developer CLI (`azd`) environments live in a directory structure within your project:
3131

@@ -47,6 +47,15 @@ The key components of this structure are:
4747
3. **`.env` file**: Contains environment-specific variables used by your application and during deployment.
4848
4. **`main.parameters.json`**: Contains parameters commonly used during infrastructure provisioning with Bicep or Terraform, but can be used for any per-environment `azd` configuration. This file is not intended to be used directly by end users.
4949

50+
### Environment names
51+
52+
The environment name typically follows these patterns:
53+
54+
- Team projects: `<project-name-[dev/int/prod]>`
55+
- Personal projects: `<personal-unique-alias-[dev/int/prod]>`
56+
57+
Environment naming conventions are not enforced by `azd` and are configurable by the user.
58+
5059
## Environment variables
5160

5261
Azure Developer CLI [Environment variables](manage-environment-variables.md) provide a way to store configuration settings that influence and might vary between environments. When you run Azure Developer CLI commands, these variables are used to:

0 commit comments

Comments
 (0)