Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,18 @@ await notificationService.PublishUpdateAsync(resource, state => state with

var resourceLogger = loggerService.GetLogger(resource);

PopulateWellKnownParameters(resource, context);

if (FindFullPathFromPath("az") is not { } azPath)
{
throw new AzureCliNotOnPathException();
}

var template = resource.GetBicepTemplateFile();

var path = template.Path;

// GetBicepTemplateFile may have added new well-known parameters, so we need
// to populate them only after calling GetBicepTemplateFile.
PopulateWellKnownParameters(resource, context);

KeyVaultResource? keyVault = null;

if (resource.Parameters.ContainsKey(AzureBicepResource.KnownParameters.KeyVaultName))
Expand Down