Skip to content

Commit 0603fee

Browse files
committed
fix
1 parent cfba65c commit 0603fee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/acceptance-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
9898
echo "ARM_RESOURCE_GROUP_NAME=${BASE_RG}-${SUFFIX}" >> $GITHUB_ENV
9999
echo "ARM_STORAGE_ACCOUNT=${STORAGE_BASE}${SUFFIX}" >> $GITHUB_ENV
100-
echo "ARM_RESOURCE_PREFIX=${BASE_PREFIX}-${SUFFIX}" >> $GITHUB_ENV
100+
echo "ARM_RESOURCE_PREFIX=${BASE_PREFIX}_${SUFFIX}" >> $GITHUB_ENV
101101
echo "ARM_STORAGE_CONTAINER_NAME=packeracc" >> $GITHUB_ENV
102102
echo "ARM_TEMP_RESOURCE_GROUP_NAME=${BASE_PREFIX}-${SUFFIX}-acceptance-test-managed-cli" >> $GITHUB_ENV
103103
echo "ARM_TENANT_ID=${{ secrets.ARM_TENANT_ID }}" >> $GITHUB_ENV

terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ locals {
1515
storage_account_base = substr(lower(replace(var.storage_account_name, "-", "")), 0, 24 - length(local.storage_account_suffix))
1616
storage_account_name = "${local.storage_account_base}${local.storage_account_suffix}"
1717

18-
resource_prefix = "${var.resource_prefix}-${local.suffix_short}"
18+
resource_prefix = "${replace(var.resource_prefix, "-", "_")}_${local.suffix_short}"
1919

2020
key_vault_suffix = local.suffix_short
2121
key_vault_base_max = 24 - length(local.key_vault_suffix) - 2

0 commit comments

Comments
 (0)