File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.96.1
3
+ rev : v1.99.0
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_wrapper_module_for_each
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ resource "aws_ecs_service" "ignore_task_definition" {
285
285
286
286
dynamic "network_configuration" {
287
287
# Set by task set if deployment controller is external
288
- for_each = var. network_mode == " awsvpc" ? [{ for k , v in local . network_configuration : k => v if ! local . is_external_deployment } ] : []
288
+ for_each = var. network_mode == " awsvpc" && ! local. is_external_deployment ? [ local . network_configuration ] : []
289
289
290
290
content {
291
291
assign_public_ip = network_configuration. value . assign_public_ip
You can’t perform that action at this time.
0 commit comments