π v2.13.0 shipped β Amazon Bedrock data source is here #737
sid88in
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
π serverless-appsync-plugin v2.13.0
A new release is out β headlined by first-class Amazon Bedrock support (straight off the v2.12.0 roadmap), plus an important region-resolution fix and dependency hardening. Upgrade with:
β¨ New features
Amazon Bedrock runtime data source β a new
AMAZON_BEDROCK_RUNTIMEdata source type lets resolvers invoke Bedrock foundation models directly from theAPPSYNC_JSruntime usingInvokeModel/Converse. Point a resolver at it and go:modelsscopes the auto-generated IAM policy. Bare foundation-model IDs, cross-region inference-profile IDs, and full ARNs / CloudFormation intrinsics are all supported. Inference-profile IDs (prefixedus.,eu.,apac.,us-gov.,global.β e.g. Amazon Nova) are automatically expanded into both the profile ARN and the underlying foundation-model ARN across the regions the profile can route to. Omitmodelsand the generated role falls back tobedrock:InvokeModel/bedrock:Converseon*.region(for ARN expansion; defaults to the stack region),serviceRoleArn(bring your own role), andiamRoleStatements(override the generated statements).examples/datasource-bedrock, and full docs indoc/dataSources.md.π Fixes
region: ${opt:region, param:provider_region}) was captured as the literal unresolved string and rejected by the AWS SDK ("Region not accepted"). Region and credential resolution is now deferred until Serverless has resolved the configuration, so--region/--aws-profileCLI options, provider config, and assumed-role/env credentials are all honored.π§ Maintenance
0.17β0.28β a large jump for the bundler behind JS (APPSYNC_JS) resolvers. No config changes required; if you lean heavily on JS resolvers, a quick smoke-test of your bundles on upgrade is worthwhile.4.0.5β4.0.6).π Docs & examples
datasource-bedrockexample and aschemaVersionexample entry.π§ͺ Internal
Full changelog: v2.12.0...v2.13.0
Release: https://github.com/sid88in/serverless-appsync-plugin/releases/tag/v2.13.0
npm: https://www.npmjs.com/package/serverless-appsync-plugin
π Thanks
Big thanks to @AlexHladin for the Amazon Bedrock data source, and @gjhommersom for the region-resolution fix β plus everyone who reported issues and reviewed PRs.
π What's next
Bedrock is off the roadmap and shipped. Still on deck: Merged APIs and AWS AppSync Events support β see the open issues if you'd like to weigh in or pick one up.
We're looking for collaborators! Reviewers and contributors of all levels welcome β see the pinned #654. π
Questions or upgrade feedback? Drop a comment below.
All reactions