Skip to content

Commit

Permalink
Add missing template for aws region
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
  • Loading branch information
Tyler Reid committed Jun 16, 2021
1 parent a56305a commit d4ff90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notify/sns/sns.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (n *Notifier) Notify(ctx context.Context, alert ...*types.Alert) (bool, err

sess, err := session.NewSessionWithOptions(session.Options{
Config: aws.Config{
Region: aws.String(n.conf.Sigv4.Region),
Region: aws.String(tmpl(n.conf.Sigv4.Region)),
Credentials: creds,
Endpoint: aws.String(tmpl(n.conf.APIUrl)),
},
Expand Down

0 comments on commit d4ff90b

Please sign in to comment.