diff --git a/pkg/discovery/discovery.go b/pkg/discovery/discovery.go index 946f56e..8dff71f 100644 --- a/pkg/discovery/discovery.go +++ b/pkg/discovery/discovery.go @@ -67,6 +67,10 @@ func (d Discovery) filter() []*ec2.Filter { Name: aws.String("tag-key"), Values: []*string{aws.String(d.tagPrefix + "*")}, }, + { + Name: aws.String("instance-state-name"), + Values: []*string{aws.String("running")}, + }, } return filters