File tree 3 files changed +5
-6
lines changed
{{cookiecutter.__src_folder_name}}/infra
3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,10 @@ module app 'core/host/container-app-upsert.bicep' = {
98
98
}
99
99
{% endif %}
100
100
]
101
- secrets : [
101
+ secrets : {
102
102
{% if cookiecutter .db_resource in ("postgres -flexible ", "cosmos -postgres ") %}
103
103
{
104
- name : 'dbserver-password'
105
- value : dbserverPassword
104
+ 'dbserver-password' : dbserverPassword
106
105
}
107
106
{% endif %}
108
107
{% if cookiecutter .project_backend in ("django ", "flask ") %}
@@ -119,7 +118,7 @@ module app 'core/host/container-app-upsert.bicep' = {
119
118
identity : webIdentity .id
120
119
}
121
120
{% endif %}
122
- ]
121
+ }
123
122
{% if cookiecutter .db_resource == "postgres -addon " %}
124
123
postgresServiceId : postgresServiceId
125
124
{% endif %}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ param imageName string = ''
57
57
58
58
@description ('The secrets required for the container' )
59
59
@secure ()
60
- param secrets array = []
60
+ param secrets object = {}
61
61
62
62
@description ('The environment variables for the container' )
63
63
param env array = []
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ param revisionMode string = 'Single'
68
68
69
69
@description ('The secrets required for the container' )
70
70
@secure ()
71
- param secrets array = []
71
+ param secrets object = {}
72
72
73
73
@description ('The service binds associated with the container' )
74
74
param serviceBinds array = []
You can’t perform that action at this time.
0 commit comments