Skip to content

Commit

Permalink
Update task_def.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepstaylor committed May 13, 2024
1 parent 380d206 commit b19d811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/task_def.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "aws_ecs_task_definition" "default" {
#checkov:skip=CKV_AWS_97:EFS transit_encryption is configurable in the module as part of the efs_volumes variable
count = var.ignore_changes ? 0 : 1
container_definitions = nonsensitive(var.container_definitions)
container_definitions = var.container_definitions
family = var.name

task_role_arn = var.task_role_arn
Expand Down Expand Up @@ -43,7 +43,7 @@ resource "aws_ecs_task_definition" "default" {
resource "aws_ecs_task_definition" "ignore_changes" {
#checkov:skip=CKV_AWS_97:EFS transit_encryption is configurable in the module as part of the efs_volumes variable
count = var.ignore_changes ? 1 : 0
container_definitions = nonsensitive(var.container_definitions)
container_definitions = var.container_definitions
family = var.name

task_role_arn = var.task_role_arn
Expand Down

0 comments on commit b19d811

Please sign in to comment.