{"slug": "using-renovate-to-update-amazon-bedrock-model-names", "title": "Using Renovate to update Amazon Bedrock model names", "summary": "A developer has published a Renovate configuration that automatically updates pinned Amazon Bedrock model IDs in YAML config files, using models.dev's public unauthenticated API as a custom datasource instead of the authenticated Anthropic list-models or Bedrock ListFoundationModels APIs. The setup pairs a customDatasources transform template with a regex customManager matching patterns like \"us.anthropic.claude-haiku-4-5-20251001-v1:0\" in config/*.yaml files, and in the example Renovate proposed bumping that Haiku pin to \"us.anthropic.claude-haiku-5-5\" as a major, breaking update. The approach matters because it removes manual version tracking for teams that pin specific Bedrock models across production and lower environments.", "body_md": "Let's say that you're building an API that interacts with LLMs using Amazon Bedrock, where you're pinning specific models in use:\n\n```\n# config/prod.yaml\nmodel: us.anthropic.claude-opus-4-6-v1\n```\n\nAnd in a lower environment, you use a cheaper model:\n\n```\n# config/dev.yaml\nmodel: us.anthropic.claude-haiku-4-5-20251001-v1:0\n```\n\nManually updating these versions can be a bit annoying to do by hand, and while you could get your favourite AI agent to keep these updated for you, it's also possible to use [Renovate](https://docs.renovatebot.com/) for it 🚀\n\nWhen I started looking at this earlier, I did a bit of digging and found that there's an [authenticated Anthropic list models API](https://platform.claude.com/docs/en/api/models/list), as well as [a Bedrock-specific `ListFoundationModels` API call](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html) but both of these require authentication, which is a little bit more painful.\n\nDoing some more searching around, I found [models.dev](https://models.dev) which provides a public, unauthenticated API which provides the full lists of models (and their model IDs that we need for Bedrock).\n\nWe can write a [Custom Datasource](https://docs.renovatebot.com/modules/datasource/custom/) with Renovate that then converts the API response to a format Renovate can consume:\n\n```\n{\n \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n \"customDatasources\": {\n \"bedrock\": {\n \"defaultRegistryUrlTemplate\": \"https://models.dev/api.json\",\n \"transformTemplates\": [\n \"{\\\"releases\\\": $each($.`amazon-bedrock`.models, function($v, $k) { $substring($k, 0, $length(\\\"{{{packageName}}}\\\")) = \\\"{{{packageName}}}\\\" ? {\\\"version\\\": $k, \\\"releaseTimestamp\\\": $v.release_date, \\\"isDeprecated\\\": $v.status = \\\"deprecated\\\"} })[]}\"\n ]\n }\n },\n \"customManagers\": [\n {\n \"customType\": \"regex\",\n \"managerFilePatterns\": [\n \"/^config\\\\/.*\\\\.yaml$/\"\n ],\n \"matchStrings\": [\n \"(?<currentValue>(?<packageName>[a-z]+\\\\.anthropic\\\\.claude-[a-z]+-)\\\\d[\\\\w.:-]*)\"\n ],\n \"datasourceTemplate\": \"custom.bedrock\",\n \"versioningTemplate\": \"regex:^[a-z]+\\\\.anthropic\\\\.claude-[a-z]+-(?<major>\\\\d+)(?:-(?<minor>\\\\d{1,2}))?(?:-(?<patch>\\\\d{8}))?(?:-v\\\\d+(?::\\\\d+)?)?$\"\n }\n ]\n}\n```\n\nWith this config, you'll then see that Renovate would propose the following updates:\n\n```\n{\n \"baseBranch\": \"\",\n \"config\": {\n \"regex\": [\n {\n \"datasourceTemplate\": \"custom.bedrock\",\n \"deps\": [\n {\n \"currentValue\": \"us.anthropic.claude-haiku-4-5-20251001-v1:0\",\n \"currentVersion\": \"us.anthropic.claude-haiku-4-5-20251001-v1:0\",\n \"currentVersionAgeInDays\": 404,\n \"currentVersionTimestamp\": \"2025-10-15T00:00:00.000Z\",\n \"datasource\": \"custom.bedrock\",\n \"depName\": \"us.anthropic.claude-haiku-\",\n \"fixedVersion\": \"us.anthropic.claude-haiku-4-5-20251001-v1:0\",\n \"isSingleVersion\": true,\n \"mostRecentTimestamp\": \"2026-10-07T00:00:00.000Z\",\n \"packageName\": \"us.anthropic.claude-haiku-\",\n \"replaceString\": \"us.anthropic.claude-haiku-4-5-20251001-v1:0\",\n \"updates\": [\n {\n \"branchName\": \"renovate/us.anthropic.claude-haiku-5.x\",\n \"bucket\": \"major\",\n \"isBreaking\": true,\n \"libYears\": 0.9780821917808219,\n \"newMajor\": 5,\n \"newMinor\": 5,\n \"newPatch\": 0,\n \"newValue\": \"us.anthropic.claude-haiku-5-5\",\n \"newVersion\": \"us.anthropic.claude-haiku-5-5\",\n \"newVersionAgeInDays\": 47,\n \"releaseTimestamp\": \"2026-10-07T00:00:00.000Z\",\n \"updateType\": \"major\"\n }\n ],\n \"versioning\": \"regex:^[a-z]+\\\\.anthropic\\\\.claude-[a-z]+-(?<major>\\\\d+)(?:-(?<minor>\\\\d{1,2}))?(?:-(?<patch>\\\\d{8}))?(?:-v\\\\d+(?::\\\\d+)?)?$\",\n \"warnings\": []\n }\n ],\n \"matchStrings\": [\n \"(?<currentValue>(?<packageName>[a-z]+\\\\.anthropic\\\\.claude-[a-z]+-)\\\\d[\\\\w.:-]*)\"\n ],\n \"packageFile\": \"config/dev.yaml\",\n \"versioningTemplate\": \"regex:^[a-z]+\\\\.anthropic\\\\.claude-[a-z]+-(?<major>\\\\d+)(?:-(?<minor>\\\\d{1,2}))?(?:-(?<patch>\\\\d{8}))?(?:-v\\\\d+(?::\\\\d+)?)?$\"\n },\n {\n \"datasourceTemplate\": \"custom.bedrock\",\n \"deps\": [\n {\n \"currentValue\": \"us.anthropic.claude-opus-4-6-v1\",\n \"currentVersion\": \"us.anthropic.claude-opus-4-6-v1\",\n \"currentVersionAgeInDays\": 291,\n \"currentVersionTimestamp\": \"2026-02-05T00:00:00.000Z\",\n \"datasource\": \"custom.bedrock\",\n \"depName\": \"us.anthropic.claude-opus-\",\n \"fixedVersion\": \"us.anthropic.claude-opus-4-6-v1\",\n \"isSingleVersion\": true,\n \"mostRecentTimestamp\": \"2026-09-22T00:00:00.000Z\",\n \"packageName\": \"us.anthropic.claude-opus-\",\n \"replaceString\": \"us.anthropic.claude-opus-4-6-v1\",\n \"updates\": [\n {\n \"branchName\": \"renovate/us.anthropic.claude-opus-4.x\",\n \"bucket\": \"non-major\",\n \"isBreaking\": false,\n \"libYears\": 0.30684931506849317,\n \"newMajor\": 4,\n \"newMinor\": 8,\n \"newPatch\": 0,\n \"newValue\": \"us.anthropic.claude-opus-4-8\",\n \"newVersion\": \"us.anthropic.claude-opus-4-8\",\n \"newVersionAgeInDays\": 179,\n \"releaseTimestamp\": \"2026-05-28T00:00:00.000Z\",\n \"updateType\": \"minor\"\n },\n {\n \"branchName\": \"renovate/us.anthropic.claude-opus-5.x\",\n \"bucket\": \"major\",\n \"isBreaking\": true,\n \"libYears\": 0.6273972602739726,\n \"newMajor\": 5,\n \"newMinor\": 5,\n \"newPatch\": 0,\n \"newValue\": \"us.anthropic.claude-opus-5-5\",\n \"newVersion\": \"us.anthropic.claude-opus-5-5\",\n \"newVersionAgeInDays\": 62,\n \"releaseTimestamp\": \"2026-09-22T00:00:00.000Z\",\n \"updateType\": \"major\"\n }\n ],\n \"versioning\": \"regex:^[a-z]+\\\\.anthropic\\\\.claude-[a-z]+-(?<major>\\\\d+)(?:-(?<minor>\\\\d{1,2}))?(?:-(?<patch>\\\\d{8}))?(?:-v\\\\d+(?::\\\\d+)?)?$\",\n \"warnings\": []\n }\n ],\n \"matchStrings\": [\n \"(?<currentValue>(?<packageName>[a-z]+\\\\.anthropic\\\\.claude-[a-z]+-)\\\\d[\\\\w.:-]*)\"\n ],\n \"packageFile\": \"config/prod.yaml\",\n \"versioningTemplate\": \"regex:^[a-z]+\\\\.anthropic\\\\.claude-[a-z]+-(?<major>\\\\d+)(?:-(?<minor>\\\\d{1,2}))?(?:-(?<patch>\\\\d{8}))?(?:-v\\\\d+(?::\\\\d+)?)?$\"\n }\n ]\n },\n \"hostname\": \"TheColonel\",\n \"level\": 20,\n \"logContext\": \"96f50ff8-6f17-419e-a4d6-823a7b4c12ce\",\n \"msg\": \"packageFiles with updates\",\n \"name\": \"renovate\",\n \"pid\": 474820,\n \"repository\": \"local\",\n \"time\": \"2026-11-23T16:57:04.747Z\",\n \"v\": 0\n}\n```\n\nAs we can see from this, we'd get:\n\n`dev`` prod`\nWe even get `releaseTimestamp` s, if we wanted to [be able to follow `minimumReleaseAge`](https://docs.renovatebot.com/key-concepts/minimum-release-age/) to only adopt models after a few days of their general availability.\n\nThanks to `models.dev`, and some help from Claude Haiku 5.5 and Claude Opus 5.5, we can now automagically upgrade our Bedrock models, no manual work needed 🎉", "url": "https://wpnews.pro/news/using-renovate-to-update-amazon-bedrock-model-names", "canonical_source": "https://www.jvt.me/posts/2026/11/23/renovate-bedrock-models/?utm_medium=rss&utm_source=rss", "published_at": "2026-11-23 17:00:58+00:00", "updated_at": "2026-11-23 17:45:12.688316+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "large-language-models", "ai-products"], "entities": ["Renovate", "Amazon Bedrock", "models.dev", "Anthropic", "Claude Opus", "Claude Haiku"], "also_reported_by": [], "takeaway": "A Renovate customDatasources entry pointing at models.dev's public api.json, combined with a regex customManager over config/*.yaml, lets Renovate propose Bedrock model ID bumps automatically — in the example it flagged us.anthropic.claude-haiku-4-5-20251001-v1:0 as 404 days old and proposed us.anth", "recommendation": {"advice": "Point a Renovate customDatasources entry at models.dev's unauthenticated api.json and add a regex customManager for your Bedrock model pins so version bumps arrive as PRs instead of manual edits.", "playbook": "production-ops", "playbook_url": "https://wpnews.pro/playbooks/production-ops"}, "alternates": {"html": "https://wpnews.pro/news/using-renovate-to-update-amazon-bedrock-model-names", "markdown": "https://wpnews.pro/news/using-renovate-to-update-amazon-bedrock-model-names.md", "text": "https://wpnews.pro/news/using-renovate-to-update-amazon-bedrock-model-names.txt", "jsonld": "https://wpnews.pro/news/using-renovate-to-update-amazon-bedrock-model-names.jsonld"}}