hashicorp/terraform-provider-aws
aws_bedrockagentcore_harness is missing additionalAttributes in bedrockModelConfig
Open
#48,363 opened on Jun 11, 2026
enhancementgood first issueservice/bedrockagentcore
Repository metrics
- Stars
- (11,045 stars)
- PR merge metrics
- (PR metrics pending)
Description
Description
The AWS API allows for a JSON-valued field named additionalParams in the model.bedrock_model_config block, which is passed directly through to the underlying model.
Currently, we're working around this with a null_resource and a local provisioner that directly invokes
aws aws bedrock-agentcore-control update-harness and passing in the additionalParams value there, but this is obviously suboptimal
Affected Resource(s) or Data Source(s)
aws_bedrockagentcore_harness
Potential Terraform Configuration
resource "aws_bedrockagentcore_harness" "main" {
model {
bedrock_model_config {
model_id = "global.anthropic.claude-sonnet-4-6"
max_tokens = 16384
temperature = 1.0
additionalParams = jsonencode({
additionalModelRequestFields = {
thinking = { type = "enabled", budget_tokens = 2048 }
}
})
}
}
}
References
Would you like to implement the enhancement?
No