File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ locals {
8282 }
8383 }
8484
85- volumes = var. ecs_launch_type == " FARGATE" ? [] : concat ( [
85+ volumes = concat ( var. ecs_launch_type == " FARGATE" ? [] : [
8686 {
8787 name = " docker-sock"
8888 host_path = " /var/run/docker.sock"
@@ -97,14 +97,15 @@ locals {
9797 }
9898
9999 ],
100- var. socket_apm_enabled_on_ec2 ? [{
101- name = " datadog-sock"
102- host_path = " /var/run/datadog.sock"
103- mount_point = {
104- " sourceVolume" = " datadog-sock"
105- " containerPath" = " /var/run/datadog.sock"
106- " readOnly" = null
107- }
100+ var. socket_apm_enabled_on_ec2 ? [
101+ {
102+ name = " datadog-sock"
103+ host_path = " /var/run/datadog.sock"
104+ mount_point = {
105+ " sourceVolume" = " datadog-sock"
106+ " containerPath" = " /var/run/datadog.sock"
107+ " readOnly" = null
108+ }
108109 }] : []
109110 )
110111
You can’t perform that action at this time.
0 commit comments