Skip to content

Instantly share code, notes, and snippets.

@Console32
Last active July 24, 2019 08:12
Show Gist options
  • Save Console32/2c315996fe4390d8eed58aa28a37a53f to your computer and use it in GitHub Desktop.
Save Console32/2c315996fe4390d8eed58aa28a37a53f to your computer and use it in GitHub Desktop.
medium.bastion-host.gatherPrerequisites.ts
const externalSshSG = this.createAllowExternSshSG(props.vpc, props.peers)
const internalSshSecurityGroup = this.createAllowInternalSshSG(props.vpc)
const snsTopic = new sns.Topic(this, 'autoscaling-notifications')
const externalIp = new ec2.CfnEIP(this, 'bastionhost-ip')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment