Skip to content

Claudia Update will not deploy with AWS SSO Credentials #236

@OuttaLineNomad

Description

@OuttaLineNomad
  • Expected behaviour:
    Use claudia update to deploy to Lambda with AWS SSO credentials, not local access key and secret key.

  • What actually happens:
    I receive an error showing I have missing credentials. I have AWS CLI credentials working through SSO.

    Error [CredentialsError]: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
    at Timeout.connectTimeout [as _onTimeout]

  • Steps to reproduce the problem:
    Without AWS Access Key and Secret key in config.

    1. Sign in to aws sso with CLI command aws sso login
    2. Use Claudia CLI to deploy the project with claudia update
  • Issue caused by:
    In my experience with other projects, the issue is that Claudia uses AWS SDK 2.X which does not support SSO. I know AWS 3.X will support SSO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions