mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
a working web stack hosted at app.syncrow.me
This commit is contained in:
14
bin/web-stack.ts
Normal file
14
bin/web-stack.ts
Normal file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env node
|
||||
import 'source-map-support/register';
|
||||
import * as cdk from 'aws-cdk-lib';
|
||||
import { WebStack } from '../infrastructure/web-stack';
|
||||
|
||||
const app = new cdk.App();
|
||||
|
||||
new WebStack(app, 'SyncrowWebStack', {
|
||||
env: {
|
||||
account: process.env.CDK_DEFAULT_ACCOUNT,
|
||||
region: process.env.CDK_DEFAULT_REGION || 'us-east-2',
|
||||
},
|
||||
certificateArn: app.node.tryGetContext('certificateArn'),
|
||||
});
|
Reference in New Issue
Block a user