Skip to content

Add CLI support to enable Bedrock model access #9691

@avnerv

Description

@avnerv

Describe the feature

Right now, the only way to enable access to Bedrock foundation models is through the AWS Console.
That’s a bit of a blocker for automation and IaC workflows (Terraform, CDK, etc.) since there’s no CLI command to do the same thing.

Use Case

• Save time in CI/CD setups
• Make multi-account/multi-region deployments smoother
• Avoid one-off console work

Proposed Solution

It would be super helpful to have something like this in the AWS CLI:

aws bedrock enable-model-access \
  --model-ids anthropic.claude-3-opus-20240229:0 amazon.titan-text-g1-express \
  --region us-west-2

Other Information

There’s already a similar ask in the CDK repo (#34850), but this feature would be super useful even for people just using plain CLI.

https://docs.aws.amazon.com/cli/latest/reference/bedrock/

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

2.28.21

Environment details (OS name and version, etc.)

macos 15.6 (24G84)

Metadata

Metadata

Labels

bedrockfeature-requestA feature should be added or improved.p2This is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions