diff --git a/internal/service/ec2/instances_data_source.go b/internal/service/ec2/instances_data_source.go index 13dd3204753..4f9d9b2e1e0 100644 --- a/internal/service/ec2/instances_data_source.go +++ b/internal/service/ec2/instances_data_source.go @@ -64,7 +64,7 @@ func dataSourceInstancesRead(d *schema.ResourceData, meta interface{}) error { } input.Filters = append(input.Filters, BuildTagFilterList( - Tags(tftags.New(d.Get("tags").(map[string]interface{}))), + Tags(tftags.New(d.Get("instance_tags").(map[string]interface{}))), )...) input.Filters = append(input.Filters, BuildFiltersDataSource(