Skip to content
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

AWSCodeDeployPublisher fail 1 hour STS session #111

Open
P00L opened this issue Mar 19, 2021 · 0 comments
Open

AWSCodeDeployPublisher fail 1 hour STS session #111

P00L opened this issue Mar 19, 2021 · 0 comments

Comments

@P00L
Copy link

P00L commented Mar 19, 2021

Hi,

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant