Skip to content

Commit

Permalink
fix: Fixed issue of current deploymentName that resolved to only the …
Browse files Browse the repository at this point in the history
…test folder name (#811)

## Description

Fixed bug of current deploymentName parameter that went unnoticed


|  | |
| - | - |
|
[Before](https://github.com/AlexanderSehr/bicep-registry-modules/actions/runs/7377238360/job/20071195920#step:4:488)
| `h-d-d-t1-20240101T1201284694Z`|
|
[After](https://github.com/AlexanderSehr/bicep-registry-modules/actions/runs/7518798470/job/20466718621#step:4:489)
| `a-r-kv-v-waf-aligned-t1-20240114T1101008023Z` |

| Pipeline |
| - |
|
[![avm.res.key-vault.vault](https://github.com/AlexanderSehr/bicep-registry-modules/actions/workflows/avm.res.key-vault.vault.yml/badge.svg?branch=users%2Falsehr%2FavmRequestReduce&event=workflow_dispatch)](https://github.com/AlexanderSehr/bicep-registry-modules/actions/workflows/avm.res.key-vault.vault.yml)
(unrelated, name was taken in 1 test) |

---------

Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com>
  • Loading branch information
AlexanderSehr and eriqua authored Jan 17, 2024
1 parent 12b5c0b commit 4fc757c
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,15 +450,16 @@ function New-TemplateDeployment {

## Iterate through each file
$deploymentInputObject = @{
templateFilePath = $templateFilePath
additionalTags = $additionalTags
additionalParameters = $additionalParameters
location = $location
resourceGroupName = $resourceGroupName
subscriptionId = $subscriptionId
managementGroupId = $managementGroupId
doNotThrow = $doNotThrow
retryLimit = $retryLimit
TemplateFilePath = $templateFilePath
AdditionalTags = $additionalTags
AdditionalParameters = $additionalParameters
Location = $location
ResourceGroupName = $resourceGroupName
SubscriptionId = $subscriptionId
ManagementGroupId = $managementGroupId
DoNotThrow = $doNotThrow
RetryLimit = $retryLimit
RepoRoot = $RepoRoot
}
if ($parameterFilePath) {
if ($parameterFilePath -is [array]) {
Expand Down

0 comments on commit 4fc757c

Please sign in to comment.