Skip to content

Commit

Permalink
prefix targets with tag: (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
sendqueery committed Aug 24, 2020
1 parent 2ccf5f2 commit adbe68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func SliceToTargets(kvslice []string) (targets []*ssm.Target) {
for i := 0; i < len(kvslice); i++ {
elements = strings.Split(kvslice[i], "=")
targets = append(targets, &ssm.Target{
Key: aws.String(elements[0]),
Key: aws.String("tag:" + elements[0]),
Values: aws.StringSlice([]string{elements[1]}),
})
}
Expand Down

0 comments on commit adbe68c

Please sign in to comment.