Skip to content

Regression: opencode 1.16 is broken for AWS bedrock provider with SSO login #31147

@intentionally-left-nil

Description

@intentionally-left-nil

Description

Opencode returns this error when trying to use inference:

AWS credential provider failed: E is not a function. (In 'E(e)', 'E' is a Symbol). Please ensure your credential provider returns valid AWS credentials with accessKeyId and secretAccessKey properties

This is a regression from 1.15.13

Plugins

none

OpenCode version

1.16.0

Steps to reproduce

Have this in your config:

"provider": {
    "amazon-bedrock": {
	"options": {
	  "region": "us-east-1"
	}
    }
  },

along with the proper AWS profile set up (we have SSO-backed auth in case it matters), then run opencode run "say hello"

Screenshot and/or share link

No response

Operating System

OSX Tahoe 26.5

Terminal

alacritty

Metadata

Metadata

Assignees

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