@gradientedge/cdk-utils-azure 2.45.1 → 2.46.1

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.
@@ -219,7 +219,7 @@ export class AzureRestApiFunction extends AzureFunctionApp {
219
219
  displayName: operation.displayName,
220
220
  urlTemplate: operation.urlTemplate,
221
221
  templateParameters: operation.templateParameters,
222
- });
222
+ }, { dependsOn: [this.api.managementApi] });
223
223
  }
224
224
  /**
225
225
  * @summary Method to create a cache policy for an API Management API operation
@@ -250,7 +250,7 @@ export class AzureRestApiFunction extends AzureFunctionApp {
250
250
  <base />
251
251
  </on-error>
252
252
  </policies>`.replace(/\n[ \t]*\n/g, '\n'),
253
- });
253
+ }, { dependsOn: [this.api.managementApi] });
254
254
  }
255
255
  /**
256
256
  * @summary Method to create the CORS policy for API Management
@@ -100,7 +100,7 @@ export class AzureFunctionManager {
100
100
  };
101
101
  const scaleAndConcurrency = {
102
102
  ...props.scaleAndConcurrency,
103
- instanceMemoryMB: props.scaleAndConcurrency?.instanceMemoryMB ?? 4096,
103
+ instanceMemoryMB: props.scaleAndConcurrency?.instanceMemoryMB ?? 2048,
104
104
  maximumInstanceCount: props.scaleAndConcurrency?.maximumInstanceCount ?? 40,
105
105
  };
106
106
  const tags = {
@@ -202,7 +202,7 @@ export class AzureFunctionManager {
202
202
  },
203
203
  scaleAndConcurrency: {
204
204
  ...props.scaleAndConcurrency,
205
- instanceMemoryMB: props.scaleAndConcurrency?.instanceMemoryMB ?? 4096,
205
+ instanceMemoryMB: props.scaleAndConcurrency?.instanceMemoryMB ?? 2048,
206
206
  maximumInstanceCount: props.scaleAndConcurrency?.maximumInstanceCount ?? 40,
207
207
  },
208
208
  siteUpdateStrategy: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils-azure",
3
- "version": "2.45.1",
3
+ "version": "2.46.1",
4
4
  "description": "Azure Pulumi utilities for @gradientedge/cdk-utils",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -15,9 +15,9 @@
15
15
  ],
16
16
  "dependencies": {
17
17
  "@pulumi/archive": "0.5.0",
18
- "@pulumi/azure-native": "3.18.0",
18
+ "@pulumi/azure-native": "3.19.0",
19
19
  "@pulumi/azuread": "6.9.1",
20
- "@pulumi/pulumi": "3.243.0",
20
+ "@pulumi/pulumi": "3.244.0",
21
21
  "@types/lodash": "4.17.24",
22
22
  "app-root-path": "3.1.0",
23
23
  "lodash": "4.18.1",