Skip to content

Commit 5785812

Browse files
authored
Merge pull request #106 from Clever/INFRANG-4813-tag-activities-with-team
add team tag to activities
2 parents 178da8b + 4426d36 commit 5785812

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
v0.7.0
2-
Migrate to go modules.
1+
v0.7.1
2+
Add team tag to activities

cmd/sfncli/sfncli.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ func tagsFromEnv() []*sfn.Tag {
232232
if account := os.Getenv("_POD_ACCOUNT"); account != "" {
233233
tags = append(tags, &sfn.Tag{Key: aws.String("pod-account"), Value: aws.String(account)})
234234
}
235+
if team := os.Getenv("_TEAM_OWNER"); team != "" {
236+
tags = append(tags, &sfn.Tag{Key: aws.String("team"), Value: aws.String(team)})
237+
}
235238

236239
return tags
237240
}

0 commit comments

Comments
 (0)