claudia icon indicating copy to clipboard operation
claudia copied to clipboard

Claudia Update will not deploy with AWS SSO Credentials

Open OuttaLineNomad opened this issue 2 years ago • 0 comments

  • 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.

OuttaLineNomad avatar Jun 28 '22 15:06 OuttaLineNomad