hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.87k stars 9.21k forks source link

[New Resource]: Bedrock Foundation Access Enable/Disable #40405

Open eddyv opened 15 hours ago

eddyv commented 15 hours ago

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

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
}

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

github-actions[bot] commented 15 hours ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue