mirror of
https://github.com/ivabus/www
synced 2024-11-23 04:15:06 +03:00
7a0de2c56e
Signed-off-by: Jacob Heider <jacob@tea.xyz>
15 lines
No EOL
395 B
TypeScript
15 lines
No EOL
395 B
TypeScript
import * as cdk from '@aws-cdk/core';
|
|
|
|
import TeaXYZ from '../lib/tea.xyz';
|
|
|
|
const app = new cdk.App();
|
|
|
|
/**
|
|
* The name of the stack depends on the STAGE environment variable so we can deploy the infrastructure multiple times in parallel
|
|
* @example
|
|
* AwesomeStack-pr-1-awesome-branch
|
|
* AwesomeStack-production
|
|
*/
|
|
const stackName = 'TeaXYZ-' + process.env.STAGE;
|
|
|
|
new TeaXYZ(app, stackName); |