@gradientedge/cdk-utils-azure 2.38.0 → 2.40.0

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.
@@ -160,7 +160,7 @@ export class CommonAzureStack extends ComponentResource {
160
160
  determineStageRegionContexts() {
161
161
  const debug = this.config.getBoolean('debug');
162
162
  const stage = this.config.get('stage');
163
- const location = this.config.get('location');
163
+ const location = this.config.get('location') ?? process.env.LOCATION;
164
164
  const stageRegionContextPath = this.config.get('stageRegionContextPath');
165
165
  if (!stage || !location || !stageRegionContextPath) {
166
166
  if (debug)
@@ -348,7 +348,11 @@ export class AzureFunctionApp extends CommonAzureConstruct {
348
348
  }).keys[0].value};EndpointSuffix=core.windows.net`,
349
349
  },
350
350
  ],
351
- connectionStrings: Object.fromEntries(this.appConnectionStrings.map(cs => [cs.name, { type: cs.type, value: cs.value }])),
351
+ connectionStrings: this.appConnectionStrings.map(cs => ({
352
+ name: cs.name,
353
+ connectionString: cs.value,
354
+ type: cs.type,
355
+ })),
352
356
  },
353
357
  httpsOnly: this.props.functionApp.app?.httpsOnly ?? true,
354
358
  }, { ...resourceOptions });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils-azure",
3
- "version": "2.38.0",
3
+ "version": "2.40.0",
4
4
  "description": "Azure Pulumi utilities for @gradientedge/cdk-utils",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",