Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Increase instruction arg max length to 4000 for aws_bedrockagent_agent #37758

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/37758.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_bedrockagent_agent: Increase `instruction` max length for validation to 4000
```
2 changes: 1 addition & 1 deletion .changelog/37801.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:enhancement
resource/aws_s3_bucket: Add error handling for `UnsupportedOperation` errors when reading `acceleration_status`, `server_side_encryption_configuration`, or `bucket_tagging` into terraform state.
resource/aws_s3_bucket: Ignore `UnsupportedOperation` errors when reading `acceleration_status`, `server_side_encryption_configuration` and `tags`
```
2 changes: 1 addition & 1 deletion internal/service/bedrockagent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (r *agentResource) Schema(ctx context.Context, request resource.SchemaReque
stringplanmodifier.UseStateForUnknown(),
},
Validators: []validator.String{
stringvalidator.LengthBetween(40, 1200),
stringvalidator.LengthBetween(40, 4000),
},
},
"prompt_override_configuration": schema.ListAttribute{ // proto5 Optional+Computed nested block.
Expand Down
Loading