Skip to content

AwsCredentialsFileException occasionally happens. #1847

@i10416

Description

@i10416

Dear maintainers,

First of all, thank you for this excellent library and your contributions to the Scala and Typelevel ecosystem.

In my work, I run several batch jobs on a daily basis in AWS ECS and AWS Batch that depend on the smithy4s AWS integration.
Occasionally, these jobs fail with the following error:

smithy4s.aws.AwsCredentialsFileException: Credentials file not found at '/root/.aws/credentials'

I’m not sure whether this is a bug in the smithy4s AWS runtime or if it’s caused by a delay in the AWS credentials setup (for example, when the workflow initializes AwsEnvironment before the credentials file becomes available).

If anyone has encountered the same issue, I would greatly appreciate any comments or advice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AWS supportIssues related to AWS support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions