Unverified Commit 790a7829 authored by Martin Linkhorst's avatar Martin Linkhorst
Browse files

fix: actually change the correct config object

parent 4dd4decf
......@@ -102,7 +102,7 @@ func NewAWSProvider(domainFilter DomainFilter, zoneIDFilter ZoneIDFilter, zoneTy
if assumeRole != "" {
log.Infof("Assuming role: %s", assumeRole)
config.WithCredentials(stscreds.NewCredentials(session, assumeRole))
session.Config.WithCredentials(stscreds.NewCredentials(session, assumeRole))
}
provider := &AWSProvider{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment