We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f3c0a commit 82ee7aeCopy full SHA for 82ee7ae
container_definition/container_definition.tf
@@ -28,7 +28,7 @@ locals {
28
}, var.health_check) : null
29
30
definition = {
31
- command = length(var.command) > 0 ? ["sh", "-c", var.command] : null
+ command = length(var.command) > 0 ? [var.command] : null
32
cpu = var.cpu
33
dependsOn = length(var.dependencies) > 0 ? var.dependencies : null # depends_on is a reserved word
34
disableNetworking = local.is_not_windows ? var.disable_networking : null
@@ -82,4 +82,4 @@ resource "aws_cloudwatch_log_group" "this" {
82
kms_key_id = var.cloudwatch_log_group_kms_key_id
83
84
tags = var.tags
85
-}
+}
0 commit comments