Skip to content

Commit

Permalink
bug to specify tag key
Browse files Browse the repository at this point in the history
  • Loading branch information
pk556 committed Dec 23, 2024
1 parent 460c189 commit 8550c27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ vendor
.vscode
debug
.idea/
*.exe
*.exe
# Fresh
tmp/runner-build
2 changes: 1 addition & 1 deletion ssm/association.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (s *SSM) CreateAssociationByTag(ctx context.Context, tagKey string, tagValu
// Create the Targets structure
targets := []*ssm.Target{
{
Key: aws.String(tagKey),
Key: aws.String("tag:" + tagKey),
Values: aws.StringSlice(tagValues),
},
}
Expand Down

0 comments on commit 8550c27

Please sign in to comment.