Skip to content

Commit

Permalink
fix region issue with output file
Browse files Browse the repository at this point in the history
Output file wasn't honoring the input role arn file regions, it was setting them all to default.
  • Loading branch information
rendicott authored Jan 2, 2018
1 parent 988a534 commit 0a59ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossamer/gossamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func haveCredsWillWrite(creds *sts.Credentials, opts *RunnerOptions, instancePro
SessionToken: *creds.SessionToken,
Expiration: creds.Expiration.String(),
Generated: time.Now().String(),
Region: opts.Region,
Region: acctCurrent.Region,
ExpiresToken: expiresToken,
InstanceRoleARN: instanceProfileArn,
AssumeRoleARN: acctCurrent.RoleArn,
Expand Down

0 comments on commit 0a59ed2

Please sign in to comment.