Skip to content

Commit

Permalink
fix: Added tryGet to secretExport interface to address new Bicep warn…
Browse files Browse the repository at this point in the history
…ing (#1812)
  • Loading branch information
AlexanderSehr authored Jan 25, 2025
1 parent 92f514b commit 17b642f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ module secretsExport 'modules/keyVaultExport.bicep' = if (secretsExportConfigura
contains(secretsExportConfiguration!, '>secretToExport1<Name')
? [
{
name: secretsExportConfiguration!.>secretToExport1<Name
name: secretsExportConfiguration!.?>secretToExport1<Name
value: >secretReference1< // e.g., >singularMainResourceType<.listKeys().primaryMasterKey
}
]
: [],
contains(secretsExportConfiguration!, '>secretToExport2<Name')
? [
{
name: secretsExportConfiguration!.>secretToExport2<Name
name: secretsExportConfiguration!.?>secretToExport2<Name
value:>secretReference2< // e.g., >singularMainResourceType<.listKeys().secondaryMasterKey
}
]
Expand Down

0 comments on commit 17b642f

Please sign in to comment.