-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(proxy-sigv4-backend): add region and service options #19
Conversation
Thanks for the contribution @jsecchiero! This looks great to me, though the build is failing for |
done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like some extra files were added in the latest commit, do you mind removing those to avoid any confusion?
Also, we do need to update the actual config.d.ts file for the new service
and region
configuration, I missed that initially (my bad)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean to commit this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no i just used it locally and added it erroneously in the last rebase, sorry!
removed now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean to commit this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
| { | ||
/** | ||
* Target of the proxy. Url string to be parsed with the url module. | ||
*/ | ||
target: string; | ||
/** | ||
* Use credentials for this IAM Role ARN via STS:AssumeRole call when signing the request. | ||
*/ | ||
roleArn?: string; | ||
/** | ||
* Use this session name when performing the STS:AssumeRole call for roleArn. Default: 'tempAssumeRoleSession'. | ||
*/ | ||
roleSessionName?: string; | ||
}; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we want to be adding the pkg
directory here, but this does remind me that we should be updating the actual config.d.ts
file for these new options, sorry for the late catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
826b695
to
3d2dc97
Compare
If we can update the config.d.ts file for the new config options, then this is good to go! Thanks |
Signed-off-by: jsecchiero <[email protected]>
done! |
expose region and service from aws4, reference to that options here
example: