Commit e98b4d7 1 parent 2377229 commit e98b4d7 Copy full SHA for e98b4d7
File tree 4 files changed +16
-3
lines changed
examples/agent-collaborator
4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1
- This example shows how to deploy a basic Bedrock agent collaborator.
1
+ This example shows how to deploy a basic Bedrock agent collaborator with a supervisor agent and a collaborator agent with agent alias .
Original file line number Diff line number Diff line change 1
1
<!-- BEGIN_TF_DOCS -->
2
- This example shows how to deploy a basic Bedrock agent collaborator.
2
+ This example shows how to deploy a basic Bedrock agent collaborator with a supervisor agent and a collaborator agent with agent alias .
3
3
4
4
## Requirements
5
5
Original file line number Diff line number Diff line change 5
5
6
6
7
7
resource "aws_iam_role" "agent_role" {
8
- count = var. create_agent || var . create_collaborator ? 1 : 0
8
+ count = var. create_agent ? 1 : 0
9
9
assume_role_policy = data. aws_iam_policy_document . agent_trust [0 ]. json
10
10
name_prefix = var. name_prefix
11
11
}
Original file line number Diff line number Diff line change
1
+ run "agent_collaborator_plan" {
2
+ command = plan
3
+ module {
4
+ source = " ./examples/agent-collaborator"
5
+ }
6
+ }
7
+
8
+ run "agent_collaborator_apply" {
9
+ command = apply
10
+ module {
11
+ source = " ./examples/agent-collaborator"
12
+ }
13
+ }
You can’t perform that action at this time.
0 commit comments