Can AWS Global Configuration plugin store the AWS Endpoint Configuration?
43 views
Skip to first unread message
Chris Kilding
unread,
Dec 12, 2019, 6:29:16 AM12/12/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkin...@googlegroups.com
Hello,
The AWS Global Configuration plugin seems to be a useful way to share config between plugins that use the AWS SDK. I have a few questions about it:
1. Does it support storing the AWS Endpoint Configuration (service endpoint, signing region)?
2. Should plugins inherit their AWS SDK Maven dependency from the Global Configuration plugin, or should they redefine their SDK dependency in their own POMs?
3. Can it do anything that IAM instance profiles cannot? (I imagine that most Jenkins servers on AWS would inherit their AWS config implicitly from the IAM instance profile.)
Regards,
Chris
Jesse Glick
unread,
Dec 12, 2019, 9:20:27 AM12/12/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Dev
On Thu, Dec 12, 2019 at 6:29 AM Chris Kilding
<chris+...@chriskilding.com> wrote:
> 1. Does it support storing the AWS Endpoint Configuration (service endpoint, signing region)?
> 2. Should plugins inherit their AWS SDK Maven dependency from the Global Configuration plugin, or should they redefine their SDK dependency in their own POMs?
Inherit, optionally declaring an explicit dependency on a newer
version of the `aws-java-sdk` plugin.
> 3. Can it do anything that IAM instance profiles cannot?
I am not sure I understand the question. `aws-global-configuration`
does not “do” much of anything, it is just a common place to keep
settings. For example, `artifact-manager-s3` defines its own settings
for S3 buckets but relies on `aws-global-configuration` to define
credentials.
> I imagine that most Jenkins servers on AWS would inherit their AWS config implicitly from the IAM instance profile.
Yes, that is typical. Or in the case of EKS, I have not personally
tried it but I presume via
Also re instance profiles, I was largely asking to find out if there is significant value in doing the work to depend on the Global Configuration plugin beyond just standardisation. It appears the instance profile doesn’t contain endpoint information, so the plugin could provide extra value after all.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Dev
On Thu, Dec 12, 2019 at 11:36 AM Chris Kilding
<chris+...@chriskilding.com> wrote:
> the EndpointConfiguration support was once present but then removed
If I recall correctly this was just used for test mocks.
> if there is significant value in doing the work to depend on the Global Configuration plugin beyond just standardisation
No, it is just there to provide, well, a standard place for
AWS-related global configuration.