Skip to content

Commit 246c7ad

Browse files
committed
update: Pulumi configurations and ECS task definition
1 parent 2a3350c commit 246c7ad

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

infrastructure/Pulumi.production.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
config:
22
aws:region: ap-northeast-2
33
velog:DOCKER_ENV: production
4-
velog:target: cron
4+
velog:target: server

infrastructure/Pulumi.stage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
config:
22
aws:region: ap-northeast-2
33
velog:DOCKER_ENV: stage
4-
velog:target: server,web
4+
velog:target: server

infrastructure/src/common/ecs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export const createECSfargateService = ({
4040
subnets: subnetIds,
4141
},
4242
taskDefinitionArgs: {
43-
cpu: option.taskCpu,
44-
memory: option.taskMemory,
43+
// cpu: option.taskCpu,
44+
// memory: option.taskMemory,
4545
executionRole: {
4646
roleArn: ecsTaskExecutionRole.arn,
4747
},

packages/velog-server/src/common/plugins/global/mercuriusPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const mercuriusPlugin: FastifyPluginAsync = async (fastify) => {
5454
const e = execution.errors?.[0]?.originalError
5555

5656
if (!isHttpError(e)) {
57-
console.log('send!')
57+
console.log('mecurius errorFormatter')
5858
;(ctx as any).request?.log?.error(execution, 'errorFormatter')
5959
const discord = container.resolve(DiscordService)
6060
discord

0 commit comments

Comments
 (0)