Skip to content

Commit 0c3a02c

Browse files
Merge pull request #16 from depot/ecs-drift
2 parents c96e749 + 2555170 commit 0c3a02c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: main.tf

+2-3
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ resource "aws_ecs_task_definition" "cloud-agent" {
402402
count = var.create ? 1 : 0
403403
family = "depot-connection-${var.connection-id}-cloud-agent"
404404
requires_compatibilities = ["FARGATE"]
405-
cpu = 2048
406-
memory = 4096
405+
cpu = "2048"
406+
memory = "4096"
407407
network_mode = "awsvpc"
408408
execution_role_arn = aws_iam_role.execution-role[0].arn
409409
task_role_arn = aws_iam_role.cloud-agent[0].arn
@@ -423,7 +423,6 @@ resource "aws_ecs_task_definition" "cloud-agent" {
423423
{ name = "CLOUD_AGENT_CONNECTION_ID", value = var.connection-id },
424424
{ name = "CLOUD_AGENT_SERVICE_NAME", value = local.service-name },
425425
{ name = "CLOUD_AGENT_TF_MODULE_VERSION", value = local.version },
426-
{ name = "CLOUD_AGENT_TF_MODULE_VERSION", value = local.version },
427426
{ name = "CLOUD_AGENT_CEPH_CONFIG", value = var.ceph-config },
428427

429428
# This environment variable is unused, but causes ECS to redeploy if the connection token changes

0 commit comments

Comments
 (0)