Skip to content

Commit

Permalink
r/aws_route: Add carrier gateway to 'FlexiTarget' test configurations.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jan 6, 2021
1 parent 4265932 commit 2c52f65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/resource_aws_route_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2631,6 +2631,7 @@ resource "aws_route" "test" {
route_table_id = aws_route_table.test.id
destination_cidr_block = %[2]q
carrier_gateway_id = (local.target_attr == "carrier_gateway_id") ? local.target_value : null
egress_only_gateway_id = (local.target_attr == "egress_only_gateway_id") ? local.target_value : null
gateway_id = (local.target_attr == "gateway_id") ? local.target_value : null
instance_id = (local.target_attr == "instance_id") ? local.target_value : null
Expand Down Expand Up @@ -2752,6 +2753,7 @@ resource "aws_route" "test" {
route_table_id = aws_route_table.test.id
destination_ipv6_cidr_block = %[2]q
carrier_gateway_id = (local.target_attr == "carrier_gateway_id") ? local.target_value : null
egress_only_gateway_id = (local.target_attr == "egress_only_gateway_id") ? local.target_value : null
gateway_id = (local.target_attr == "gateway_id") ? local.target_value : null
instance_id = (local.target_attr == "instance_id") ? local.target_value : null
Expand Down

0 comments on commit 2c52f65

Please sign in to comment.