From 642e0107e12b4ebbefec73effe0fab617525a600 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Wed, 11 Jan 2017 13:23:40 -0500 Subject: [PATCH] Update error message to 'route_table_id' --- builtin/providers/aws/data_source_aws_route_table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/data_source_aws_route_table.go b/builtin/providers/aws/data_source_aws_route_table.go index bdbcda516..d8399df9e 100644 --- a/builtin/providers/aws/data_source_aws_route_table.go +++ b/builtin/providers/aws/data_source_aws_route_table.go @@ -108,7 +108,7 @@ func dataSourceAwsRouteTableRead(d *schema.ResourceData, meta interface{}) error filter, filterOk := d.GetOk("filter") if !vpcIdOk && !subnetIdOk && !tagsOk && !filterOk && !rtbOk { - return fmt.Errorf("One of rtb_id, vpc_id, subnet_id, filters, or tags must be assigned") + return fmt.Errorf("One of route_table_id, vpc_id, subnet_id, filters, or tags must be assigned") } req.Filters = buildEC2AttributeFilterList( map[string]string{