Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flaconi/terraform-aws-bedrock
Terraform module for Amazon Bedrock resources
https://github.com/flaconi/terraform-aws-bedrock
aws terraform terraform-module
Last synced: 16 days ago
JSON representation
Terraform module for Amazon Bedrock resources
- Host: GitHub
- URL: https://github.com/flaconi/terraform-aws-bedrock
- Owner: Flaconi
- License: mit
- Created: 2024-10-30T08:38:02.000Z (18 days ago)
- Default Branch: master
- Last Pushed: 2024-10-30T16:19:17.000Z (17 days ago)
- Last Synced: 2024-10-30T17:21:15.568Z (17 days ago)
- Topics: aws, terraform, terraform-module
- Language: Makefile
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# terraform-aws-bedrock
Module to create Amazon Bedrock custom model
[![lint](https://github.com/flaconi/terraform-aws-bedrock/workflows/lint/badge.svg)](https://github.com/flaconi/terraform-aws-bedrock/actions?query=workflow%3Alint)
[![test](https://github.com/flaconi/terraform-aws-bedrock/workflows/test/badge.svg)](https://github.com/flaconi/terraform-aws-bedrock/actions?query=workflow%3Atest)
[![Tag](https://img.shields.io/github/tag/flaconi/terraform-aws-bedrock.svg)](https://github.com/flaconi/terraform-aws-bedrock/releases)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)For requirements regarding module structure: [style-guide-terraform.md](https://github.com/Flaconi/devops-docs/blob/master/doc/conventions/style-guide-terraform.md)
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | ~> 5.73 |## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.3 |
| [aws](#requirement\_aws) | ~> 5.73 |## Required Inputs
The following input variables are required:
Description: Name for the custom model.
Type: `string`
### [job\_name](#input\_job\_name)
Description: A name for the customization job.
Type: `string`
### [model\_role\_arn](#input\_model\_role\_arn)
Description: The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf.
Type: `string`
### [output\_data\_s3\_uri](#input\_output\_data\_s3\_uri)
Description: The S3 URI where the output data is stored.
Type: `string`
### [training\_data\_s3\_uri](#input\_training\_data\_s3\_uri)
Description: The S3 URI where the training data is stored.
Type: `string`
## Optional Inputs
The following input variables are optional (have default values):
### [foundation\_model\_id](#input\_foundation\_model\_id)
Description: Model identifier.
Type: `string`
Default: `"amazon.titan-text-express-v1"`
### [model\_kms\_key\_id](#input\_model\_kms\_key\_id)
Description: The custom model is encrypted at rest using this key. Specify the key ARN.
Type: `string`
Default: `null`
### [model\_customization\_type](#input\_model\_customization\_type)
Description: The customization type. Valid values: `FINE_TUNING`, `CONTINUED_PRE_TRAINING`.
Type: `string`
Default: `null`
### [model\_hyperparameters](#input\_model\_hyperparameters)
Description: Parameters related to tuning the model.
Type: `map(string)`
Default: `{}`
### [validation\_data\_s3\_uri](#input\_validation\_data\_s3\_uri)
Description: The S3 URI where the validation data is stored.
Type: `string`
Default: `null`
### [vpc\_config](#input\_vpc\_config)
Description: Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
Type:
```hcl
object({
security_group_ids = list(string)
subnet_ids = list(string)
})
```Default: `null`
Description: A map of tags to assign to the customization job and custom model.
Type: `map(string)`
Default: `{}`
## Outputs
| Name | Description |
|------|-------------|
| [custom\_model\_arn](#output\_custom\_model\_arn) | The ARN of the output model. |
| [job\_arn](#output\_job\_arn) | The ARN of the customization job. |## License
**[MIT License](LICENSE)**
Copyright (c) 2024 **[Flaconi GmbH](https://github.com/flaconi)**