-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
36 lines (34 loc) · 957 Bytes
/
.projenrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
const { awscdk } = require('projen');
const project = new awscdk.AwsCdkTypeScriptApp({
author: 'Court Schuett',
authorAddress: 'https://subaud.io',
cdkVersion: '2.70.0',
workflowNodeVersion: '16.x',
defaultReleaseBranch: 'main',
name: 'ec2-asterisk',
deps: ['@aws-sdk/client-ec2'],
// context: { vpcId: 'vpc-xxxxxxxx' }, //TO ADD ASTERISK TO EXISTING VPC - UNCOMMENT
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['schuettc'],
},
depsUpgradeOptions: {
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
},
},
repositoryUrl: 'https://github.com/schuettc/ec2-asterisk.git',
scripts: {
launch:
'yarn && yarn projen && yarn build && yarn cdk bootstrap && yarn cdk deploy',
},
});
project.synth();
const common_include = [
'cdk.out',
'cdk.context.json',
'yarn-error.log',
'dependabot.yml',
];
project.gitignore.include(...common_include);