mirror of
https://github.com/prometheus/alertmanager
synced 2025-02-18 19:46:54 +00:00
Add missing template for aws region
Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
This commit is contained in:
parent
a56305a3c0
commit
d4ff90b555
@ -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)),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user