Skip to content

Learn to use available AWS Terraform modules with examples on how to accelerate your Infrastructure-as-Code deployments for generative AI workloads.

License

Notifications You must be signed in to change notification settings

aws-samples/aws-generative-ai-terraform-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AWS Generative AI Terraform Samples

This repository showcases Terraform examples to review and test AWS generative AI samples. The objective is to continue to add examples as new AWS Terraform modules are released. Once they are understood in depth, they can be used to extend on your own.

Getting started

Explore each self-contained example in the samples directory to get started!

Structure

Each folder under the samples directory has a README.md with the specific instructions required to understand, execute, and cleanup the sample.

└── samples
    ├── document-explorer               # Deploy a generative AI document explorer
    │   ├── README.md                   # Instructions
    │   ├── client_app                  # Steamlit application
    │   │   └── Dockerfile              # Contain image (environmental variables updates required before frontend deploys)
    │   ├── terraform-config-backend    # Backend Infrastructure
    │   │   ├── main.tf                 # The main resources to be created (optional `solution_prefix`)
    │   │   └── outputs.tf              # The outputs needed for the frontend (`Dockerfile`, and `terraform.tfvars`)
    │   └── terraform-config-frontend   # Frontend Infrastructure
    │       ├── main.tf                 # The main resources for the frontend (optional `app_name`)
    │       ├── outputs.tf              # The outputs needed for accessing the cloud deployment (and second `Dockerfile` edit)
    │       └── terraform.tfvars        # The variables from the backend to be entered
    ├── bedrock-agent                   # Deploy an Amazon Bedrock Agen
    │   ├── README.md                   # Instructions
    │   ├── main.tf                     # The main file
    │   ├── outputs.tf                  # Outputs to use in the initial loading script
    │   ├── scripts/load-kb.sh          # Script to load and synchronize the Bedrock knowledge base's data source
    │   ├── lambda/action-group/        # Code for the action group
    │   └── lambda/action-group.yaml    # The Open API specification for the action group
    └── ...

Issues, Support, Security, and Contributing

Please add issues to this repository directly for the best support. This is a best effort repository and there is no expected SLA. In regards to security, please report it to Security. If you are interested in contributiong, please fork the repository and submit a merge or pull request.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Security

See CONTRIBUTING for more information.

We hope you Enjoy Exploring!

About

Learn to use available AWS Terraform modules with examples on how to accelerate your Infrastructure-as-Code deployments for generative AI workloads.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks