Update error message to 'route_table_id'

This commit is contained in:
Jake Champlin 2017-01-11 13:23:40 -05:00
parent 439b94707e
commit 642e0107e1
No known key found for this signature in database
GPG Key ID: DC31F41958EF4AC2
1 changed files with 1 additions and 1 deletions

View File

@ -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{