Skip to content

Commit 933952a

Browse files
committed
Ignore changes for taskDefinitionArgs.cpu, memory and replaceOnChanges for resourceId
1 parent 246c7ad commit 933952a

File tree

1 file changed

+4
-3
lines changed
  • infrastructure/src/common

1 file changed

+4
-3
lines changed

infrastructure/src/common/ecs.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const createECSfargateService = ({
4040
subnets: subnetIds,
4141
},
4242
taskDefinitionArgs: {
43+
// TODO: Ignore changes for taskDefinitionArgs.cpu, memory
4344
// cpu: option.taskCpu,
4445
// memory: option.taskMemory,
4546
executionRole: {
@@ -88,7 +89,7 @@ export const createECSfargateService = ({
8889
scalableDimension: 'ecs:service:DesiredCount',
8990
serviceNamespace: 'ecs',
9091
},
91-
{ replaceOnChanges: ['resourceId'] },
92+
// { replaceOnChanges: ['resourceId'] },
9293
)
9394

9495
const ecsCPUPolicy = new aws.appautoscaling.Policy(
@@ -107,7 +108,7 @@ export const createECSfargateService = ({
107108
scaleOutCooldown: 60,
108109
},
109110
},
110-
{ replaceOnChanges: ['resourceId'] },
111+
// { replaceOnChanges: ['resourceId'] },
111112
)
112113

113114
const ecsMemoryPolicy = new aws.appautoscaling.Policy(
@@ -126,6 +127,6 @@ export const createECSfargateService = ({
126127
scaleOutCooldown: 60,
127128
},
128129
},
129-
{ replaceOnChanges: ['resourceId'] },
130+
// { replaceOnChanges: ['resourceId'] },
130131
)
131132
}

0 commit comments

Comments
 (0)