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.84k stars 9.19k forks source link

r/aws_bedrock_agent : add memory capability to aws_bedrock_agent #39970

Open fredouric opened 2 weeks ago

fredouric commented 2 weeks ago

Description

This PR adds support for the memory_configuration nested block for aws_bedrock_agent resource.

Relations

Closes #39626

References

https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgent.html#bedrock-agent_CreateAgent-request-memoryConfiguration https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_MemoryConfiguration.html

Output from Acceptance Testing

% make testacc TESTS=TestAccBedrockAgentAgent_ PKG=bedrockagent

make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.2 test ./internal/service/bedrockagent/... -v -count 1 -parallel 20 -run='TestAccBedrockAgentAgent_'  -timeout 360m
2024/10/31 17:06:21 Initializing Terraform AWS Provider...
=== RUN   TestAccBedrockAgentAgent_basic
=== PAUSE TestAccBedrockAgentAgent_basic
=== RUN   TestAccBedrockAgentAgent_full
=== PAUSE TestAccBedrockAgentAgent_full
=== RUN   TestAccBedrockAgentAgent_singlePrompt
=== PAUSE TestAccBedrockAgentAgent_singlePrompt
=== RUN   TestAccBedrockAgentAgent_singlePromptUpdate
=== PAUSE TestAccBedrockAgentAgent_singlePromptUpdate
=== RUN   TestAccBedrockAgentAgent_addPrompt
=== PAUSE TestAccBedrockAgentAgent_addPrompt
=== RUN   TestAccBedrockAgentAgent_guardrail
=== PAUSE TestAccBedrockAgentAgent_guardrail
=== RUN   TestAccBedrockAgentAgent_update
=== PAUSE TestAccBedrockAgentAgent_update
=== RUN   TestAccBedrockAgentAgent_tags
=== PAUSE TestAccBedrockAgentAgent_tags
=== RUN   TestAccBedrockAgentAgent_kms
=== PAUSE TestAccBedrockAgentAgent_kms
=== RUN   TestAccBedrockAgentAgent_memory
=== PAUSE TestAccBedrockAgentAgent_memory
=== CONT  TestAccBedrockAgentAgent_basic
=== CONT  TestAccBedrockAgentAgent_guardrail
=== CONT  TestAccBedrockAgentAgent_tags
=== CONT  TestAccBedrockAgentAgent_kms
=== CONT  TestAccBedrockAgentAgent_memory
=== CONT  TestAccBedrockAgentAgent_singlePromptUpdate
=== CONT  TestAccBedrockAgentAgent_addPrompt
=== CONT  TestAccBedrockAgentAgent_update
=== CONT  TestAccBedrockAgentAgent_singlePrompt
=== CONT  TestAccBedrockAgentAgent_full
--- PASS: TestAccBedrockAgentAgent_basic (28.58s)
--- PASS: TestAccBedrockAgentAgent_singlePrompt (28.69s)
--- PASS: TestAccBedrockAgentAgent_full (29.28s)
--- PASS: TestAccBedrockAgentAgent_memory (36.70s)
--- PASS: TestAccBedrockAgentAgent_singlePromptUpdate (47.46s)
--- PASS: TestAccBedrockAgentAgent_kms (50.09s)
--- PASS: TestAccBedrockAgentAgent_update (55.20s)
--- PASS: TestAccBedrockAgentAgent_tags (60.94s)
--- PASS: TestAccBedrockAgentAgent_guardrail (70.05s)
--- PASS: TestAccBedrockAgentAgent_addPrompt (73.99s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/bedrockagent       77.718
github-actions[bot] commented 2 weeks ago

Community Note

Voting for Prioritization

For Submitters