This repository was archived by the owner on Mar 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
load-balancer-target-group Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ resource "aws_autoscaling_group" "autoscaling_group" {
3535 for_each = var. tags
3636
3737 content {
38- key = lookup ( tag. value , " key" )
39- value = lookup ( tag. value , " value" )
40- propagate_at_launch = lookup ( tag. value , " propagate_at_launch" )
38+ key = tag. value [ " key" ]
39+ value = tag. value [ " value" ]
40+ propagate_at_launch = tag. value [ " propagate_at_launch" ]
4141 }
4242 }
4343}
@@ -71,9 +71,9 @@ resource "aws_launch_configuration" "launch_configuration" {
7171 dynamic "ebs_block_device" {
7272 for_each = var. ebs_block_devices
7373 content {
74- device_name = lookup ( ebs_block_device. value , " device_name" )
75- volume_type = lookup ( ebs_block_device. value , " volume_type" )
76- volume_size = lookup ( ebs_block_device. value , " volume_size" )
74+ device_name = ebs_block_device. value [ " device_name" ]
75+ volume_type = ebs_block_device. value [ " volume_type" ]
76+ volume_size = ebs_block_device. value [ " volume_size" ]
7777 iops = lookup (ebs_block_device. value , " iops" , null )
7878 encrypted = lookup (ebs_block_device. value , " encrypted" , null )
7979 delete_on_termination = lookup (ebs_block_device. value , " delete_on_termination" , null )
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ resource "aws_alb_listener_rule" "http_path" {
5656 dynamic "condition" {
5757 for_each = var. routing_condition
5858 content {
59- field = lookup ( condition. value , " field" )
60- values = lookup ( condition. value , " values" )
59+ field = condition. value [ " field" ]
60+ values = condition. value [ " values" ]
6161 }
6262 }
6363}
You can’t perform that action at this time.
0 commit comments