When working with aws bedrock resources via IaC, i would like to be able to control foundational model access permissions.
Currently, if one were to work with aws foundational models, they would need to manually navigate through the ui and enable access to the desired models per region as described in https://docs.aws.amazon.com/bedrock/latest/userguide/model-access-modify.html while workable, feels disconnected from deploying other resources, policies in aws.
Requested Resource(s) and/or Data Source(s)
aws_bedrock_foundation_model
aws_bedrock_foundation_model_access
Potential Terraform Configuration
resource "aws_bedrock_foundation_model_access" "example" {
model_ids = ["anthropic.claude-3-haiku-20240307-v1:0"]
enabled = true
### region inherited from provider config
#region = us-east-1
}
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
When working with aws bedrock resources via IaC, i would like to be able to control foundational model access permissions.
Currently, if one were to work with aws foundational models, they would need to manually navigate through the ui and enable access to the desired models per region as described in https://docs.aws.amazon.com/bedrock/latest/userguide/model-access-modify.html while workable, feels disconnected from deploying other resources, policies in aws.
Requested Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
https://github.com/confluentinc/mongodb-cflt-genai-quickstart?tab=readme-ov-file#enable-foundation-model-access an example repo that was deploying applications that needed manual enablement of foundational models
Would you like to implement a fix?
None