Skip to content

Commit a6b2b83

Browse files
committed
Use new system
1 parent 4b93798 commit a6b2b83

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

Diff for: {{cookiecutter.__src_folder_name}}/infra/aca.bicep

+3-4
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,10 @@ module app 'core/host/container-app-upsert.bicep' = {
9898
}
9999
{% endif %}
100100
]
101-
secrets: [
101+
secrets: {
102102
{% if cookiecutter.db_resource in ("postgres-flexible", "cosmos-postgres") %}
103103
{
104-
name: 'dbserver-password'
105-
value: dbserverPassword
104+
'dbserver-password': dbserverPassword
106105
}
107106
{% endif %}
108107
{% if cookiecutter.project_backend in ("django", "flask") %}
@@ -119,7 +118,7 @@ module app 'core/host/container-app-upsert.bicep' = {
119118
identity: webIdentity.id
120119
}
121120
{% endif %}
122-
]
121+
}
123122
{% if cookiecutter.db_resource == "postgres-addon" %}
124123
postgresServiceId: postgresServiceId
125124
{% endif %}

Diff for: {{cookiecutter.__src_folder_name}}/infra/core/host/container-app-upsert.bicep

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ param imageName string = ''
5757

5858
@description('The secrets required for the container')
5959
@secure()
60-
param secrets array = []
60+
param secrets object = {}
6161

6262
@description('The environment variables for the container')
6363
param env array = []

Diff for: {{cookiecutter.__src_folder_name}}/infra/core/host/container-app.bicep

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ param revisionMode string = 'Single'
6868

6969
@description('The secrets required for the container')
7070
@secure()
71-
param secrets array = []
71+
param secrets object = {}
7272

7373
@description('The service binds associated with the container')
7474
param serviceBinds array = []

0 commit comments

Comments
 (0)