Skip to content

Commit cdcac7b

Browse files
authored
Merge pull request Azure#59 from Azure/waelkdouh/fixbicepmodule
Refactored bicep file and main.parameters.json
2 parents 69f6f56 + 0601def commit cdcac7b

File tree

3 files changed

+23
-20
lines changed

3 files changed

+23
-20
lines changed

bicep/main.parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"containerRegistryPassword": {
7272
"value": "<CONTAINER_REGISTRY_PASSWORD>"
7373
},
74-
"backendProcessoServiceImage": {
74+
"backendProcessorServiceImage": {
7575
"value": "<CONTAINER_REGISTRY_NAME>.azurecr.io/tasksmanager/tasksmanager-backend-processor:latest"
7676
},
7777
"backendApiServiceImage": {

docs/aca/04-aca-dapr-stateapi/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ az containerapp dapr enable --name $BACKEND_API_NAME `
420420
az containerapp dapr enable --name $FRONTEND_WEBAPP_NAME `
421421
--resource-group $RESOURCE_GROUP `
422422
--dapr-app-id $FRONTEND_WEBAPP_NAME `
423-
--dapr-app-port <web api application port number found under Dockerfile for the web api project. e.g. 5071>
423+
--dapr-app-port <front end web application port number found under Dockerfile for the web api project. e.g. 5071>
424424
```
425425

426426
??? tip "Curious to learn more about the command above?"

docs/aca/10-aca-iac-bicep/index.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -270,24 +270,7 @@ To achieve this, add a new file under the `bicep` directory as shown below:
270270

271271
### Deploy the Infrastructure and Create the Components
272272

273-
With the steps above completed we are ready to deploy all the different resources. We just need to create a parameters file which will simplify the invocation of the main bicep file.
274-
275-
To achieve this, right click on file `main.bicep` and select **Generate Parameter File**. This will result in creating a file named `main.parameters.json` similar to the file below:
276-
277-
???+ example
278-
=== "main.parameters.json"
279-
280-
```json
281-
--8<-- "https://raw.githubusercontent.com/Azure/aca-dotnet-workshop/main/bicep/main.parameters.json"
282-
```
283-
284-
!!! note
285-
286-
To use this file, you need to edit this generated file and provide values for the parameters. You can use the same values shown above in sample file.
287-
288-
You only need to replace parameter values between the angle brackets `<>` with values related to your ACR resource and SendGrid.
289-
290-
Start the deployment by calling `az deployment group create`. To accomplish this, open the PowerShell console and use the content below.
273+
Start by creating a new resource group which will contain all the resources to be created by the Bicep scripts.
291274

292275
```Powershell
293276
az group create `
@@ -308,6 +291,26 @@ az acr create `
308291
!!! note
309292
Once the RG and ACR are created you can check [this section](../../aca/08-aca-monitoring/index.md#2-build-new-images-and-push-them-to-acr) which shows the different commands to build and push the images to ACR. Make sure you are at the root project directory when executing the aforementioned commands. Finally run the bicep file against the newly created Resource Group as shown below.
310293

294+
With the steps above completed we are ready to deploy all the different resources. We just need to create a parameters file which will simplify the invocation of the main bicep file.
295+
296+
To achieve this, right click on file `main.bicep` and select **Generate Parameter File**. This will result in creating a file named `main.parameters.json` similar to the file below:
297+
298+
???+ example
299+
=== "main.parameters.json"
300+
301+
```json
302+
--8<-- "https://raw.githubusercontent.com/Azure/aca-dotnet-workshop/main/bicep/main.parameters.json"
303+
```
304+
305+
!!! note
306+
307+
To use this file, you need to edit this generated file and provide values for the parameters. You can use the same values shown above in sample file.
308+
309+
You only need to replace parameter values between the angle brackets `<>` with values related to your ACR resource and SendGrid.
310+
311+
Start the deployment by calling `az deployment group create`. To accomplish this, open the PowerShell console and use the content below.
312+
313+
311314
```Powershell
312315
az deployment group create `
313316
--resource-group "<your RG name>" `

0 commit comments

Comments
 (0)