Add missing template for aws region

Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
This commit is contained in:
Tyler Reid 2021-06-16 16:42:55 -05:00
parent a56305a3c0
commit d4ff90b555
1 changed files with 1 additions and 1 deletions

View File

@ -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)),
},