@digitraffic/common 2026.4.9-1 → 2026.4.14-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.
@@ -6,6 +6,7 @@ import type { InfraStackConfiguration } from "./intra-stack-configuration.js";
6
6
  export interface NetworkConfiguration {
7
7
  readonly vpcName: string;
8
8
  readonly cidr: string;
9
+ readonly natGateways?: number;
9
10
  }
10
11
  export declare class NetworkStack extends Stack {
11
12
  readonly vpc: IVpc;
@@ -27,6 +27,7 @@ export class NetworkStack extends Stack {
27
27
  availabilityZones: Stack.of(this).availabilityZones.sort().slice(0, 2), // take two first azs
28
28
  enableDnsHostnames: true,
29
29
  enableDnsSupport: true,
30
+ natGateways: configuration.natGateways ?? 2, // one for each AZ
30
31
  ipAddresses: IpAddresses.cidr(configuration.cidr),
31
32
  subnetConfiguration: [
32
33
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitraffic/common",
3
- "version": "2026.4.9-1",
3
+ "version": "2026.4.14-1",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "repository": {