Repository navigation
feat(ess-aws-bedrock): add Bedrock IAM package - #145
Draft
mattnorris wants to merge 3 commits into
Draft
mattnorris wants to merge 3 commits into
mattnorris wants to merge 3 commits into
Conversation
- Add a Pulumi stack that creates an IAM user scoped to Bedrock model invocation, with an optional access key and Bedrock API key. - Tag keys are unprefixed unless deploy_stack gets a tag_prefix. - Register the package as a uv workspace member.
Match the essentials build-system pin for Python packages.
Replace the dev and prod example stack files with one tracked Pulumi.example.yaml and point the README setup at it.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
packages/python/ess-aws-bedrock, a Pulumi stack that creates an IAM user scoped to Bedrock model invocation, with an optional long-lived access key and an optional Bedrock API key (bearer token).deploy_stack()accepts extra IAM policy statements and an optionaltag_prefix. Tag keys (project,managed-by,environment) are unprefixed by default, and prefixes in the reservedaws:namespace are rejected.Pulumi.example.yamland the Apache-2.0LICENSE, pinshatchling>=1.27, and registers the package as a uv workspace member.Test plan
uv run pytest packages/python/ess-aws-bedrock(35 passed)uv run ruff check packages/python/ess-aws-bedrockessentials-sync scan packages/python/ess-aws-bedrockreports 0 findingsuv build --wheel packages/python/ess-aws-bedrock