Created
April 9, 2023 14:16
-
-
Save crisboarna/a05cd591f16df9ca82ccb4c700b247d4 to your computer and use it in GitHub Desktop.
Accessing isolated network estate on AWS: Part 1 - Bastion Host: App Stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
import 'source-map-support/register'; | |
import * as cdk from 'aws-cdk-lib'; | |
import { VpcStack } from '../lib/vpc-stack'; | |
import { BastionStack } from '../lib/bastion-stack'; | |
const app = new cdk.App(); | |
const vpc = new VpcStack(app, 'VpcStack'); | |
const bastion = new BastionStack(app, 'BastionStack', { vpc: vpc.vpc }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment