awslabs / aws-codedeploy-plugin

Jenkins plugin for AWS CodeDeploy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Temporary Credentials Not Working: External ID without Cause

frankeddy-mrm opened this issue · comments

I'm using the "Temporary Credentials" option, however the "External ID" unpredictably changes.
I have been able to successfully setup multiple CodeDeploys and have them work consistently for a few days. However the "External ID" unexplainably changes and obviously subsequent CodeDeploy's fail until I re-associate the new “External ID” to the “AWS Account ID” and “IAM Role ARN”.

The “AWS Account ID” and the “IAM Role ARN” do not and have not been changed.

My environment is :

  • Jenkins ver 1.656
  • JAVA ver 1.8.0_74-b02
  • AWS CodeDeploy Plugin ver 1.11
  • Windows 2012 Server R2

What is the causing the External ID to change? How can I prevent it?

This is the only place where this plugin sets External ID. If the external ID is null, then it will set it to a random UUID.

Hi,

Thank you for letting us know what is happening. I have added an item to look into this in our backlog to be Triaged.

We also experience that. Can maintainers indicate where do the ‘global persisted configuration’ values such as the external-id are stored?
I couldn’t find it.