You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .header.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,12 +10,19 @@ Integrate Amazon Bedrock to your HashiCorp Cloud Platform Terraform (Terraform C
10
10
11
11
### Terraform plan summary
12
12
13
+
Summarize Terraform plan output in human friendly natural language.
13
14

14
15
15
16
### Function calling (AMI analysis)
16
17
18
+
Use function calling to execute other tools, such as analyzing AMI data.
17
19

18
20
21
+
### Responsible AI
22
+
23
+
Implement safeguards using Amazon Bedrock guardrails customized to your organization requirements and responsible AI policies
24
+

25
+
19
26
## Architecture
20
27
21
28

@@ -29,6 +36,7 @@ Please refer to the [best-practice](#best-practice) section below for more detai
29
36
To use this module you need have the following:
30
37
31
38
1. AWS account and credentials
39
+
1. Amazon Bedrock model access (default model is `Claude 3 Sonnet`)
32
40
1. HCP Terraform account
33
41
34
42
## Usage
@@ -39,6 +47,8 @@ To use this module you need have the following:
39
47
make all
40
48
```
41
49
50
+
* Enable Bedrock model access for `Claude 3 Sonnet`. Refer to [this guide for more info](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html).
51
+
42
52
* Reference the `examples/basic` folder on how to use this module
43
53
44
54
```sh
@@ -57,3 +67,5 @@ To use this module you need have the following:
57
67
* Enable the AWS WAF setup by setting variable `deploy_waf` to `true` (additional cost will apply). This will add WAF protection to the Run Tasks URL endpoint.
58
68
59
69
* We recommend you to setup additional CloudWatch alarm to monitor Lambda concurrency and WAF rules.
70
+
71
+
* We recommend to add additional topic to the Bedrock Guardrail to fit your organization requirements.
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,19 @@ Integrate Amazon Bedrock to your HashiCorp Cloud Platform Terraform (Terraform C
11
11
12
12
### Terraform plan summary
13
13
14
+
Summarize Terraform plan output in human friendly natural language.
14
15

15
16
16
17
### Function calling (AMI analysis)
17
18
19
+
Use function calling to execute other tools, such as analyzing AMI data.
18
20

19
21
22
+
### Responsible AI
23
+
24
+
Implement safeguards using Amazon Bedrock guardrails customized to your organization requirements and responsible AI policies
25
+

26
+
20
27
## Architecture
21
28
22
29

@@ -30,6 +37,7 @@ Please refer to the [best-practice](#best-practice) section below for more detai
30
37
To use this module you need have the following:
31
38
32
39
1. AWS account and credentials
40
+
1. Amazon Bedrock model access (default model is `Claude 3 Sonnet`)
33
41
1. HCP Terraform account
34
42
35
43
## Usage
@@ -40,6 +48,8 @@ To use this module you need have the following:
40
48
make all
41
49
```
42
50
51
+
* Enable Bedrock model access for `Claude 3 Sonnet`. Refer to [this guide for more info](https://docs.aws.amazon.com/bedrock/latest/userguide/model-access.html).
52
+
43
53
* Reference the `examples/basic` folder on how to use this module
44
54
45
55
```sh
@@ -59,13 +69,16 @@ To use this module you need have the following:
59
69
60
70
* We recommend you to setup additional CloudWatch alarm to monitor Lambda concurrency and WAF rules.
61
71
72
+
* We recommend to add additional topic to the Bedrock Guardrail to fit your organization requirements.
results.append(generate_runtask_result(outcome_id="Plan-Summary", description="Summary of Terraform plan", result=description[:700]))
216
+
else:
217
+
results.append(generate_runtask_result(outcome_id="Plan-Summary", description="Summary of Terraform plan", result="Output omitted due to : {}".format(guardrail_response)))
results.append(generate_runtask_result(outcome_id="AMI-Summary", description="Summary of AMI changes", result=result[:700]))
223
+
else:
224
+
results.append(generate_runtask_result(outcome_id="AMI-Summary", description="Summary of AMI changes", result="Output omitted due to : {}".format(guardrail_response)))
0 commit comments