Skip to content

Commit b31529a

Browse files
authored
add subnetcidr pools (#1220)
1 parent 63ca3b3 commit b31529a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/deployments/cdk/src/apps/phase-2.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ import { logArchiveReadOnlyAccess } from '../deployments/s3/log-archive-read-acc
4444
import * as metadataDeployment from '../deployments/metadata-collection';
4545
import { IamRoleOutputFinder } from '@aws-accelerator/common-outputs/src/iam-role';
4646
import * as alb from '../deployments/alb';
47+
import { loadAssignedSubnetCidrPool } from '@aws-accelerator/common/src/util/common';
4748

4849
/**
4950
* This is the main entry point to deploy phase 2
@@ -89,6 +90,8 @@ export async function deploy({
8990
outputs,
9091
});
9192

93+
const assignedSubnetCidrPools = await loadAssignedSubnetCidrPool(context.subnetCidrPoolAssignedTable);
94+
9295
await createTrail.step1({
9396
accountBuckets,
9497
accountStacks,
@@ -288,6 +291,7 @@ export async function deploy({
288291
vpcConfigs,
289292
sharedAccountKey,
290293
installerVersion: context.installerVersion,
294+
subnetPools: assignedSubnetCidrPools,
291295
});
292296

293297
// Add Tags Output

0 commit comments

Comments
 (0)