@@ -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 } ` ;
@@ -55,7 +55,7 @@ export class AppStack extends cdk.Stack {
5555 effect : iam . Effect . ALLOW ,
5656 actions : [ "s3:*Object" , "SES:*" ] ,
5757 resources : [ "*" ] ,
58- } )
58+ } ) ,
5959 ) ;
6060
6161 taskDef
@@ -72,57 +72,57 @@ export class AppStack extends cdk.Stack {
7272 ssm . StringParameter . fromSecureStringParameterAttributes (
7373 this ,
7474 "sentryEnvironment" ,
75- { parameterName : "/env/sentry/environment" , version : 1 }
76- )
75+ { parameterName : "/env/sentry/environment" , version : 1 } ,
76+ ) ,
7777 ) ,
7878 SENTRY_DSN : ecs . Secret . fromSsmParameter (
7979 ssm . StringParameter . fromSecureStringParameterAttributes (
8080 this ,
8181 "sentryDsn" ,
82- { parameterName : "/env/sentry/dsn" , version : 1 }
83- )
82+ { parameterName : "/env/sentry/dsn" , version : 1 } ,
83+ ) ,
8484 ) ,
8585 DATABASE_URL : ecs . Secret . fromSsmParameter (
8686 ssm . StringParameter . fromSecureStringParameterAttributes (
8787 this ,
8888 "dbUrl" ,
89- { parameterName : "/env/db/dbUrl" , version : 1 }
90- )
89+ { parameterName : "/env/db/dbUrl" , version : 1 } ,
90+ ) ,
9191 ) ,
9292 GITHUB_SECRET : ecs . Secret . fromSsmParameter (
9393 ssm . StringParameter . fromStringParameterName (
9494 this ,
9595 "githubSecret" ,
96- "/env/githubSecret"
97- )
96+ "/env/githubSecret" ,
97+ ) ,
9898 ) ,
9999 GITHUB_ID : ecs . Secret . fromSsmParameter (
100100 ssm . StringParameter . fromStringParameterName (
101101 this ,
102102 "githubId" ,
103- "/env/githubId"
104- )
103+ "/env/githubId" ,
104+ ) ,
105105 ) ,
106106 NEXTAUTH_SECRET : ecs . Secret . fromSsmParameter (
107107 ssm . StringParameter . fromStringParameterName (
108108 this ,
109109 "nextauthSecret" ,
110- "/env/nextauthSecret"
111- )
110+ "/env/nextauthSecret" ,
111+ ) ,
112112 ) ,
113113 DISCORD_INVITE_URL : ecs . Secret . fromSsmParameter (
114114 ssm . StringParameter . fromStringParameterName (
115115 this ,
116116 "discordInviteUrl" ,
117- "/env/discordInviteUrl"
118- )
117+ "/env/discordInviteUrl" ,
118+ ) ,
119119 ) ,
120120 ADMIN_EMAIL : ecs . Secret . fromSsmParameter (
121121 ssm . StringParameter . fromStringParameterName (
122122 this ,
123123 "adminEmail" ,
124- "/env/adminEmail"
125- )
124+ "/env/adminEmail" ,
125+ ) ,
126126 ) ,
127127 } ,
128128 logging : ecs . LogDrivers . awsLogs ( {
@@ -143,7 +143,7 @@ export class AppStack extends cdk.Stack {
143143 cpu : production ? 256 : 256 , // Can alter if need more
144144 publicLoadBalancer : true ,
145145 protocol : elbv2 . ApplicationProtocol . HTTP ,
146- }
146+ } ,
147147 ) ;
148148
149149 fargateService . listener . addAction ( "DefaultListenerRule" , {
@@ -197,7 +197,7 @@ export class AppStack extends cdk.Stack {
197197
198198 fargateService . service . connections . allowFromAnyIpv4 (
199199 ec2 . Port . tcp ( this . appPort ) ,
200- "app-inbound"
200+ "app-inbound" ,
201201 ) ;
202202
203203 this . loadbalancer = fargateService . loadBalancer ;
0 commit comments