Skip to content

Commit

Permalink
Deploy v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Hawxy committed Jul 4, 2022
1 parent deac3a0 commit f246995
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
authorAddress: '[email protected]',
cdkVersion: '2.20.0',
constructsVersion: '10.1.0',
majorVersion: 1,
defaultReleaseBranch: 'main',
name: 'cdk-tailscale-bastion',
repositoryUrl: 'https://github.com/Hawxy/cdk-tailscale-bastion.git',
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ You may find this package useful if you need high performance access to internal
The Tailscale Auth key should be passed in via parameter store or secrets manager and NOT hardcoded in your application.

```typescript
import { TailscaleBastion } from 'cdk-tailscale-bastion';

// Secrets Manager
const secret = Secret.fromSecretNameV2(stack, 'ApiSecrets', 'tailscale').secretValueFromJson('AUTH_KEY');
// Systems Manager Parameter Store
const altSecret = SecretValue.ssmSecure('/tsauth');

new TailscaleBastion(stack, 'Cdk-Sample-Lib', {
new TailscaleBastion(stack, 'Sample-Bastion', {
vpc,
tailScaleAuthKey: secret,
});
Expand Down

0 comments on commit f246995

Please sign in to comment.