You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/deployment-environments/concept-azure-developer-cli-with-deployment-environments.md
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,9 @@ ms.date: 02/24/2024
15
15
16
16
In this article, you learn about Azure Developer CLI (`azd`) and how it works with Azure Deployment Environments (ADE) to provision application infrastructure and deploy application code to the new infrastructure.
17
17
18
-
With ADE, you can create environments from an environment definition in a catalog attached to your dev center. By adding `azd`, you can deploy your application code to the new infrastructure.
19
-
20
-
## What is the Azure Developer CLI?
21
-
22
18
The Azure Developer CLI (`azd`) is an open-source command-line tool that provides developer-friendly commands that map to key stages in your workflow. You can install `azd` locally on your machine or use it in other environments.
23
19
24
-
<!-- more context here -->
25
-
20
+
With ADE, you can create environments from an environment definition in a catalog attached to your dev center. By adding `azd`, you can deploy your application code to the new infrastructure.
26
21
27
22
## How does `azd` work with ADE?
28
23
@@ -36,7 +31,7 @@ At scale, using ADE and `azd` together enables you to provide a way for develope
36
31
37
32
The Azure Developer CLI commands are designed to work with standardized templates. Each template is a code repository that adheres to specific file and folder conventions. The templates contain the assets `azd` needs to provision an Azure Deployment Environment environment. When you run a command like `azd up`, the tool uses the template assets to execute various workflow steps, such as provisioning or deploying resources to Azure.
38
33
39
-
All `azd` templates include the following assets:
34
+
The following is a typical `azd` template structure:
40
35
41
36
```txt
42
37
├── infra [ Contains infrastructure as code files ]
@@ -49,6 +44,8 @@ All `azd` templates include the following assets:
49
44
└── azure.yaml [ Describes the app and type of Azure resources]
50
45
```
51
46
47
+
All `azd` templates include the following assets:
48
+
52
49
-*infra folder* - Contains all of the Bicep or Terraform infrastructure as code files for the azd template. The infra folder is not used in `azd` with ADE. ADE provides the infrastructure as code files for the `azd` template. You don't need to include these files in your `azd` template.
53
50
54
51
-*azure.yaml file* - A configuration file that defines one or more services in your project and maps them to Azure resources for deployment. For example, you might define an API service and a web front-end service, each with attributes that map them to different Azure resources for deployment.
@@ -74,11 +71,11 @@ Azure Deployment Environments catalogs consist of environment definitions: IaC t
74
71
75
72
To properly support certain Azure Compute services, Azure Developer CLI requires more configuration settings in the IaC template. For example, you must tag app service hosts with specific information so that `azd` knows how to find the hosts and deploy the app to them.
76
73
77
-
You can see a list of supported Azure services here: [Supported Azure compute services (host)](/azure/developer/azure-developer-cli/supported-languages-environments).
74
+
You can see a list of supported Azure services here: [Supported Azure compute services (host)](/azure/developer/azure-developer-cli/supported-languages-environments#supported-azure-compute-services-host).
78
75
79
-
## Make your ADE environment definition compatible with `azd`
76
+
## Make your ADE catalog compatible with `azd`
80
77
81
-
To enable your development teams to us `azd` with ADE, you need to create an environment definition that is compatible with `azd`. You can create a new `azd`compatible template, or you can use an existing environment definition from the Azure Deployment Environments dev center catalog. If you choose to use an existing environment definition, you need to make a few changes to make it compatible with `azd`.
78
+
To enable your development teams to us `azd` with ADE, you need to create an environment definition in your catalog that is compatible with `azd`. You can create a new `azd`compatible environment definition, or you can use an existing environment definition from the Azure Deployment Environments dev center catalog. If you choose to use an existing environment definition, you need to make a few changes to make it compatible with `azd`.
82
79
83
80
Changes include:
84
81
- If you're modifying an existing `azd` template, remove the `infra` folder. ADE uses the following files to create the infrastructure:
@@ -103,7 +100,7 @@ To enable `azd` support, run the following command:
103
100
```
104
101
### Explore `azd` commands
105
102
106
-
When the dev center feature is enabled, the default behavior of some common azd commands changes to work with these remote environments. For more information, see [Work with Azure Deployment Evironments](/azure/developer/azure-developer-cli/ade-integration?branch=main#work-with-azure-deployment-evironments)
103
+
When the dev center feature is enabled, the default behavior of some common azd commands changes to work with these remote environments. For more information, see [Work with Azure Deployment Environments](/azure/developer/azure-developer-cli/ade-integration?branch=main#work-with-azure-deployment-evironments).
0 commit comments