Skip to content

Commit

Permalink
feat: replace bastion instance on changes (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoegertn authored Sep 22, 2022
1 parent 1853e31 commit 28a6ca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export class TailscaleBastion extends Construct {
InitCommand.shellCommand(`source /etc/environment && tailscale up --authkey $TS_AUTHKEY --advertise-routes=${props.vpc.vpcCidrBlock} --accept-dns=false`),
...(additionalInit ?? []),
),
initOptions: {},
});

if (props.tailscaleCredentials.secretsManager) {
Expand Down

0 comments on commit 28a6ca4

Please sign in to comment.