Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add subnetcidr pools #1220

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading