Skip to content

Commit

Permalink
add subnetcidr pools (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjjaegeraws committed Mar 8, 2024
1 parent 63ca3b3 commit b31529a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/deployments/cdk/src/apps/phase-2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import { logArchiveReadOnlyAccess } from '../deployments/s3/log-archive-read-acc
import * as metadataDeployment from '../deployments/metadata-collection';
import { IamRoleOutputFinder } from '@aws-accelerator/common-outputs/src/iam-role';
import * as alb from '../deployments/alb';
import { loadAssignedSubnetCidrPool } from '@aws-accelerator/common/src/util/common';

/**
* This is the main entry point to deploy phase 2
Expand Down Expand Up @@ -89,6 +90,8 @@ export async function deploy({
outputs,
});

const assignedSubnetCidrPools = await loadAssignedSubnetCidrPool(context.subnetCidrPoolAssignedTable);

await createTrail.step1({
accountBuckets,
accountStacks,
Expand Down Expand Up @@ -288,6 +291,7 @@ export async function deploy({
vpcConfigs,
sharedAccountKey,
installerVersion: context.installerVersion,
subnetPools: assignedSubnetCidrPools,
});

// Add Tags Output
Expand Down

0 comments on commit b31529a

Please sign in to comment.