Skip to content

Commit

Permalink
added notification arns to stack update
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Remekie committed Jan 6, 2020
1 parent 410c935 commit 512a1d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stacks/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ func (s *Stack) Update() error {
updateParams.Tags = s.Tags
}

if len(s.NotificationARNs) > 0 {
updateParams.NotificationARNs = aws.StringSlice(s.NotificationARNs)
}

// If bucket - upload to s3
if s.Bucket != "" {
exists, err := bucket.Exists(s.Bucket, s.Session)
Expand Down

0 comments on commit 512a1d1

Please sign in to comment.