Skip to content

Instantly share code, notes, and snippets.

@crisboarna
Created April 9, 2023 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crisboarna/a05cd591f16df9ca82ccb4c700b247d4 to your computer and use it in GitHub Desktop.
Save crisboarna/a05cd591f16df9ca82ccb4c700b247d4 to your computer and use it in GitHub Desktop.
Accessing isolated network estate on AWS: Part 1 - Bastion Host: App Stack
#!/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