@gradientedge/cdk-utils 9.41.2 → 9.41.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,7 +37,9 @@ class AzureStorageManager {
|
|
|
37
37
|
if (!props)
|
|
38
38
|
throw `Props undefined for ${id}`;
|
|
39
39
|
const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-sa-rg`, {
|
|
40
|
-
name: scope.
|
|
40
|
+
name: scope.props.resourceGroupName
|
|
41
|
+
? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
|
|
42
|
+
: `${props.resourceGroupName}`,
|
|
41
43
|
});
|
|
42
44
|
if (!resourceGroup)
|
|
43
45
|
throw `Resource group undefined for ${id}`;
|
|
@@ -86,7 +88,9 @@ class AzureStorageManager {
|
|
|
86
88
|
if (!props)
|
|
87
89
|
throw `Props undefined for ${id}`;
|
|
88
90
|
const resourceGroup = new data_azurerm_resource_group_1.DataAzurermResourceGroup(scope, `${id}-sb-rg`, {
|
|
89
|
-
name: scope.
|
|
91
|
+
name: scope.props.resourceGroupName
|
|
92
|
+
? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
|
|
93
|
+
: `${props.resourceGroupName}`,
|
|
90
94
|
});
|
|
91
95
|
if (!resourceGroup)
|
|
92
96
|
throw `Resource group undefined for ${id}`;
|
package/package.json
CHANGED
|
@@ -37,10 +37,9 @@ export class AzureStorageManager {
|
|
|
37
37
|
if (!props) throw `Props undefined for ${id}`
|
|
38
38
|
|
|
39
39
|
const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-sa-rg`, {
|
|
40
|
-
name: scope.
|
|
41
|
-
scope.
|
|
42
|
-
|
|
43
|
-
),
|
|
40
|
+
name: scope.props.resourceGroupName
|
|
41
|
+
? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
|
|
42
|
+
: `${props.resourceGroupName}`,
|
|
44
43
|
})
|
|
45
44
|
|
|
46
45
|
if (!resourceGroup) throw `Resource group undefined for ${id}`
|
|
@@ -96,10 +95,9 @@ export class AzureStorageManager {
|
|
|
96
95
|
if (!props) throw `Props undefined for ${id}`
|
|
97
96
|
|
|
98
97
|
const resourceGroup = new DataAzurermResourceGroup(scope, `${id}-sb-rg`, {
|
|
99
|
-
name: scope.
|
|
100
|
-
scope.
|
|
101
|
-
|
|
102
|
-
),
|
|
98
|
+
name: scope.props.resourceGroupName
|
|
99
|
+
? scope.resourceNameFormatter.format(scope.props.resourceGroupName)
|
|
100
|
+
: `${props.resourceGroupName}`,
|
|
103
101
|
})
|
|
104
102
|
|
|
105
103
|
if (!resourceGroup) throw `Resource group undefined for ${id}`
|