Skip to content

Commit

Permalink
skip checkov warning
Browse files Browse the repository at this point in the history
  • Loading branch information
richgreen-moj committed Apr 3, 2024
1 parent 85e70d8 commit 8096707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/task_def.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
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 || var.ignore_changes_service_task_definition == false ? 0 : 1
container_definitions = nonsensitive(var.container_definitions)
family = var.name
Expand Down Expand Up @@ -40,6 +41,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 || var.ignore_changes_service_task_definition == false ? 1 : 0
container_definitions = nonsensitive(var.container_definitions)
family = var.name
Expand Down

0 comments on commit 8096707

Please sign in to comment.