mirror of
https://github.com/autistic-symposium/backend-and-orchestration-toolkit.git
synced 2025-06-09 15:32:46 -04:00
🛌 Commit progress before sleep break
This commit is contained in:
parent
119cc7f62c
commit
585ee80f5d
319 changed files with 29 additions and 23 deletions
15
code/kubernetes/python-cdk/ts/MSK_example/bin/example.ts
Normal file
15
code/kubernetes/python-cdk/ts/MSK_example/bin/example.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env node
|
||||
import 'source-map-support/register';
|
||||
import cdk = require('@aws-cdk/core');
|
||||
|
||||
import { VPCStack } from "../lib/Vpc";
|
||||
import { MskClusterStack } from "../lib/MskCluster";
|
||||
|
||||
const app = new cdk.App();
|
||||
const app_env = {
|
||||
region: <account region>,
|
||||
account: <account number>
|
||||
};
|
||||
|
||||
const vpcStack = new VPCStack(app, 'VPCStack', {env: app_env});
|
||||
new MskClusterStack(app, 'MskClusterStack',{env: app_env, vpc: vpcStack.Vpc});
|
Loading…
Add table
Add a link
Reference in a new issue