Skip to content

Commit

Permalink
Merge pull request #16 from depot/ecs-drift
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie authored Aug 8, 2023
2 parents c96e749 + 2555170 commit 0c3a02c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ resource "aws_ecs_task_definition" "cloud-agent" {
count = var.create ? 1 : 0
family = "depot-connection-${var.connection-id}-cloud-agent"
requires_compatibilities = ["FARGATE"]
cpu = 2048
memory = 4096
cpu = "2048"
memory = "4096"
network_mode = "awsvpc"
execution_role_arn = aws_iam_role.execution-role[0].arn
task_role_arn = aws_iam_role.cloud-agent[0].arn
Expand All @@ -423,7 +423,6 @@ resource "aws_ecs_task_definition" "cloud-agent" {
{ name = "CLOUD_AGENT_CONNECTION_ID", value = var.connection-id },
{ name = "CLOUD_AGENT_SERVICE_NAME", value = local.service-name },
{ name = "CLOUD_AGENT_TF_MODULE_VERSION", value = local.version },
{ name = "CLOUD_AGENT_TF_MODULE_VERSION", value = local.version },
{ name = "CLOUD_AGENT_CEPH_CONFIG", value = var.ceph-config },

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

0 comments on commit 0c3a02c

Please sign in to comment.