Created
April 27, 2021 23:14
-
-
Save strickvl/7286d7d4fcf02803901d3c61081b4e24 to your computer and use it in GitHub Desktop.
this is called by cdk deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const cdk = require('@aws-cdk/core'); | |
const { EkkoStack, SharedResources } = require('../lib/deploy-stack'); | |
// A construct which represents the entire CDK app | |
class EkkoApp extends cdk.App { | |
constructor() { | |
super(); | |
const sharedResources = new SharedResources(this, "shared-resources"); | |
const server = new EkkoStack(this, "ekko-server", { | |
cluster: sharedResources.cluster, | |
redis: sharedResources.redis, | |
vpc: sharedResources.vpc, | |
s3: sharedResources.s3, | |
}); | |
} | |
} | |
new EkkoApp().synth(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment