@@ -28,7 +28,7 @@ export class AppStack extends cdk.Stack {
2828 const domainName = ssm . StringParameter . valueForStringParameter (
2929 this ,
3030 `/env/domainName` ,
31- 1
31+ 1 ,
3232 ) ;
3333
3434 const wwwDomainName = `www.${ domainName } ` ;
@@ -49,7 +49,7 @@ export class AppStack extends cdk.Stack {
4949 effect : iam . Effect . ALLOW ,
5050 actions : [ "s3:*Object" , "SES:*" ] ,
5151 resources : [ "*" ] ,
52- } )
52+ } ) ,
5353 ) ;
5454
5555 taskDef
@@ -65,36 +65,36 @@ export class AppStack extends cdk.Stack {
6565 ssm . StringParameter . fromSecureStringParameterAttributes (
6666 this ,
6767 "dbUrl" ,
68- { parameterName : "/env/db/dbUrl" , version : 1 }
69- )
68+ { parameterName : "/env/db/dbUrl" , version : 1 } ,
69+ ) ,
7070 ) ,
7171 GITHUB_SECRET : ecs . Secret . fromSsmParameter (
7272 ssm . StringParameter . fromStringParameterName (
7373 this ,
7474 "githubSecret" ,
75- "/env/githubSecret"
76- )
75+ "/env/githubSecret" ,
76+ ) ,
7777 ) ,
7878 GITHUB_ID : ecs . Secret . fromSsmParameter (
7979 ssm . StringParameter . fromStringParameterName (
8080 this ,
8181 "githubId" ,
82- "/env/githubId"
83- )
82+ "/env/githubId" ,
83+ ) ,
8484 ) ,
8585 NEXTAUTH_SECRET : ecs . Secret . fromSsmParameter (
8686 ssm . StringParameter . fromStringParameterName (
8787 this ,
8888 "nextauthSecret" ,
89- "/env/nextauthSecret"
90- )
89+ "/env/nextauthSecret" ,
90+ ) ,
9191 ) ,
9292 DISCORD_INVITE_URL : ecs . Secret . fromSsmParameter (
9393 ssm . StringParameter . fromStringParameterName (
9494 this ,
9595 "discordInviteUrl" ,
96- "/env/discordInviteUrl"
97- )
96+ "/env/discordInviteUrl" ,
97+ ) ,
9898 ) ,
9999 } ,
100100 logging : ecs . LogDrivers . awsLogs ( {
@@ -115,7 +115,7 @@ export class AppStack extends cdk.Stack {
115115 cpu : production ? 256 : 256 , // Can alter if need more
116116 publicLoadBalancer : true ,
117117 protocol : elbv2 . ApplicationProtocol . HTTP ,
118- }
118+ } ,
119119 ) ;
120120
121121 fargateService . listener . addAction ( "DefaultListenerRule" , {
@@ -158,7 +158,7 @@ export class AppStack extends cdk.Stack {
158158
159159 fargateService . service . connections . allowFromAnyIpv4 (
160160 ec2 . Port . tcp ( this . appPort ) ,
161- "app-inbound"
161+ "app-inbound" ,
162162 ) ;
163163
164164 this . loadbalancer = fargateService . loadBalancer ;
0 commit comments