-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.service/bedrockagentcoreIssues and PRs that pertain to the bedrockagentcore service.Issues and PRs that pertain to the bedrockagentcore service.
Milestone
Description
Terraform and AWS Provider Version
aws provider version: `6.18.0`
terraform --version
Terraform v1.11.4
on darwin_arm64Affected Resource(s) or Data Source(s)
aws_bedrockagentcore_memory
Expected Behavior
event_expiry_duration can be set between 1 and 365.
Actual Behavior
Validated with numbers between 7 and 365.
| int32validator.Between(7, 365), |
Relevant Error/Panic Output
$ terraform plan
╷
│ Error: Invalid Attribute Value
│
│ with aws_bedrockagentcore_memory.example,
│ on agentcore_memory.tf line 5, in resource "aws_bedrockagentcore_memory" "example":
│ 5: event_expiry_duration = 1
│
│ Attribute event_expiry_duration value must be between 7 and 365, got: 1
╵Sample Terraform Configuration
Click to expand configuration
resource "aws_bedrockagentcore_memory" "example" {
name = "example-memory"
event_expiry_duration = 1
}Steps to Reproduce
- Just run
terraform planwith the above settings
Debug Logging
Click to expand log output
GenAI / LLM Assisted Development
n/a
Important Facts and References
https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_Memory.html
eventExpiryDuration
The number of days after which memory events will expire.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 365.
Required: Yes
Would you like to implement a fix?
No
This is a good first issue 👍
Metadata
Metadata
Assignees
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.service/bedrockagentcoreIssues and PRs that pertain to the bedrockagentcore service.Issues and PRs that pertain to the bedrockagentcore service.