Skip to content

Commit

Permalink
Merge pull request #106 from Clever/INFRANG-4813-tag-activities-with-…
Browse files Browse the repository at this point in the history
…team

add team tag to activities
  • Loading branch information
rgarcia committed Apr 5, 2022
2 parents 178da8b + 4426d36 commit 5785812
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v0.7.0
Migrate to go modules.
v0.7.1
Add team tag to activities
3 changes: 3 additions & 0 deletions cmd/sfncli/sfncli.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ func tagsFromEnv() []*sfn.Tag {
if account := os.Getenv("_POD_ACCOUNT"); account != "" {
tags = append(tags, &sfn.Tag{Key: aws.String("pod-account"), Value: aws.String(account)})
}
if team := os.Getenv("_TEAM_OWNER"); team != "" {
tags = append(tags, &sfn.Tag{Key: aws.String("team"), Value: aws.String(team)})
}

return tags
}
Expand Down

0 comments on commit 5785812

Please sign in to comment.