Resource: aws_bedrock_provisioned_model_throughput

Manages Provisioned Throughput for an Amazon Bedrock model.

Example Usage

resource "aws_bedrock_provisioned_model_throughput" "example" {
  provisioned_model_name = "example-model"
  model_arn              = "arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-v2"
  commitment_duration    = "SixMonths"
  model_units            = 1
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import Provisioned Throughput using the provisioned_model_arn. For example:

import {
  to       = aws_bedrock_provisioned_model_throughput.example
  model_id = "arn:aws:bedrock:us-west-2:123456789012:provisioned-model/1y5n57gh5y2e"
}

Using terraform import, import Provisioned Throughput using the provisioned_model_arn. For example:

% terraform import aws_bedrock_provisioned_model_throughput.example arn:aws:bedrock:us-west-2:123456789012:provisioned-model/1y5n57gh5y2e