Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 6b25002

Browse files
authored
chore: add the bin folder for emr-eks-example (#547)
* add the `bin` folder for emr-eks-example * update the gitignore
1 parent c4eb1ff commit 6b25002

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ core/.github/*
3333
*.iml
3434

3535
core/tmp.yaml
36-
examples/emr-eks-app/bin
36+
examples/emr-eks-app/bin/*.d.ts
37+
examples/emr-eks-app/bin/*.js
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env node
2+
import 'source-map-support/register';
3+
import * as cdk from 'aws-cdk-lib';
4+
import { EmrEksAppStack } from '../lib/emr-eks-app-stack';
5+
6+
const app = new cdk.App();
7+
new EmrEksAppStack(app, 'EmrEksAppStack', {
8+
/* If you don't specify 'env', this stack will be environment-agnostic.
9+
* Account/Region-dependent features and context lookups will not work,
10+
* but a single synthesized template can be deployed anywhere. */
11+
12+
/* Uncomment the next line to specialize this stack for the AWS Account
13+
* and Region that are implied by the current CLI configuration. */
14+
// env: { account: process.env.CDK_DEFAULT_ACCOUNT, region: process.env.CDK_DEFAULT_REGION },
15+
16+
/* Uncomment the next line if you know exactly what Account and Region you
17+
* want to deploy the stack to. */
18+
// env: { account: '123456789012', region: 'us-east-1' },
19+
20+
/* For more information, see https://docs.aws.amazon.com/cdk/latest/guide/environments.html */
21+
});

0 commit comments

Comments
 (0)