using AWSCodeDeployPublisher plugin for deployments that take more than 1 hour polling fail with STS token expiration
The security token included in the request is expired (Service: AmazonCodeDeploy; Status Code: 400; Error Code: ExpiredTokenException)
com.amazonaws.services.codedeploy.model.AmazonCodeDeployException: The security token included in the request is expired (Service: AmazonCodeDeploy; Status Code: 400; Error Code: ExpiredTokenException;
looking at the code seems that session duration (credsDuration) is forced to 3600s that goes against pollingTimeoutSec that doesn't have a limit.
Hi,
using AWSCodeDeployPublisher plugin for deployments that take more than 1 hour polling fail with STS token expiration
looking at the code seems that session duration (credsDuration) is forced to 3600s that goes against pollingTimeoutSec that doesn't have a limit.