Skip to content

AWSCodeDeployPublisher fail 1 hour STS session #111

@P00L

Description

@P00L

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions