File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
container . json_map_object
7
7
],
8
8
)
9
- datadog_location_config = jsondecode (datadog_synthetics_private_location. private_location . config )
9
+ datadog_location_config = try ( jsondecode (datadog_synthetics_private_location. private_location [ 0 ] . config ), null )
10
10
11
11
}
12
12
@@ -30,7 +30,7 @@ module "container_definition" {
30
30
31
31
depends_on = [datadog_synthetics_private_location . private_location ]
32
32
33
- for_each = var. containers
33
+ for_each = { for k , v in var . containers : k => v if local . enabled }
34
34
35
35
container_name = lookup (each. value , " name" )
36
36
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ module "ecs_cluster" {
22
22
source = " cloudposse/stack-config/yaml//modules/remote-state"
23
23
version = " 1.5.0"
24
24
25
- component = " ecs"
25
+ component = " ecs/cluster "
26
26
27
27
context = module. this . context
28
28
}
You can’t perform that action at this time.
0 commit comments