Skip to content

Commit 795c7f6

Browse files
Merge pull request #1 from aws-samples/feature/add-document-explorer
feature: add document explorer sample
2 parents 3a11fe1 + 771a60c commit 795c7f6

38 files changed

+3506
-22
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,17 @@ updates:
77
interval: "weekly"
88
commit-message:
99
prefix: "chore(deps): update github-actions versions"
10-
include-commit-body: true
1110

1211
- package-ecosystem: "terraform"
1312
directory: "/"
1413
schedule:
1514
interval: "weekly"
1615
commit-message:
1716
prefix: "chore(deps): update terraform modules"
18-
include-commit-body: true
1917

2018
- package-ecosystem: "pip"
2119
directory: "/"
2220
schedule:
2321
interval: "weekly"
2422
commit-message:
2523
prefix: "chore(deps): update pip packages"
26-
include-commit-body: true

.gitignore

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Skip Visual Studio Code Workspace files
2+
*.code-workspace
3+
4+
# No macOS files
5+
.DS_Store
6+
7+
# Local .terraform directories
8+
**/.terraform/*
9+
10+
# .tfstate files
11+
*.tfstate
12+
*.tfstate.*
13+
14+
# Crash log files
15+
crash.log
16+
crash.*.log
17+
18+
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
19+
# password, private keys, and other secrets. These should not be part of version
20+
# control as they are data points which are potentially sensitive and subject
21+
# to change depending on the environment.
22+
*.tfvars
23+
*.tfvars.json
24+
25+
# Ignore override files as they are usually used to override resources locally and so
26+
# are not checked in
27+
override.tf
28+
override.tf.json
29+
*_override.tf
30+
*_override.tf.json
31+
32+
# Ignore transient lock info files created by terraform apply
33+
.terraform.tfstate.lock.info
34+
35+
# Include override files you do wish to add to version control using negated pattern
36+
# !example_override.tf
37+
38+
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
39+
# example: *tfplan*
40+
41+
# Ignore CLI configuration files
42+
.terraformrc
43+
terraform.rc
44+

.terraform-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.9.8

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## Code of Conduct
1+
# Code of Conduct
2+
23
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
34
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
4-
opensource-codeofconduct@amazon.com with any additional questions or comments.
5+
[opensource-codeofconduct@amazon.com](mailto:opensource-codeofconduct@amazon.com) with any additional questions or comments.

CONTRIBUTING.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ documentation, we greatly value feedback and contributions from our community.
66
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
77
information to effectively respond to your bug report or contribution.
88

9-
109
## Reporting Bugs/Feature Requests
1110

1211
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
@@ -19,8 +18,8 @@ reported the issue. Please try to include as much information as you can. Detail
1918
* Any modifications you've made relevant to the bug
2019
* Anything unusual about your environment or deployment
2120

22-
2321
## Contributing via Pull Requests
22+
2423
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
2524

2625
1. You are working against the latest source on the *main* branch.
@@ -39,20 +38,19 @@ To send us a pull request, please:
3938
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
4039
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
4140

42-
4341
## Finding contributions to work on
44-
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
4542

43+
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
4644

4745
## Code of Conduct
46+
4847
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
4948
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
50-
opensource-codeofconduct@amazon.com with any additional questions or comments.
51-
49+
[opensource-codeofconduct@amazon.com](mailto:opensource-codeofconduct@amazon.com) with any additional questions or comments.
5250

5351
## Security issue notifications
54-
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5552

53+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5654

5755
## Licensing
5856

LICENSE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MIT No Attribution
1+
# MIT No Attribution
22

33
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
44

@@ -14,4 +14,3 @@ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
1414
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1515
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1616
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17-

README.md

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,43 @@
1-
## My Project
1+
# AWS Generative AI Terraform Samples
22

3-
TODO: Fill this README out!
3+
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.
44

5-
Be sure to:
5+
<!-- Badges -->
66

7-
* Change the title in this README
8-
* Edit your repository description on GitHub
7+
## Getting started
98

10-
## Security
9+
Explore each self-contained sample to get started!
1110

12-
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
11+
## Structure
12+
13+
Each folder under the `samples` directory has a `README.md` with the specific instructions required to understand, execute, and cleanup the sample.
14+
15+
```folder
16+
└── samples
17+
├── document-explorer # Deploy a generative AI document explorer
18+
│   ├── README.md # Instructions
19+
│   ├── client_app # Steamlit application
20+
│   │   └── Dockerfile # Contain image (environmental variables updates required before frontend deploys)
21+
│   ├── terraform-config-backend # Backend Infrastructure
22+
│   │   ├── main.tf # The main resources to be created (optional `solution_prefix`)
23+
│   │   └── outputs.tf # The outputs needed for the frontend (`Dockerfile`, and `terraform.tfvars`)
24+
│   └── terraform-config-frontend # Frontend Infrastructure
25+
│   ├── main.tf # The main resources for the frontend (optional `app_name`)
26+
│   ├── outputs.tf # The outputs needed for accessing the cloud deployment (and second `Dockerfile` edit)
27+
│   └── terraform.tfvars # The variables from the backend to be entered
28+
└── ...
29+
```
30+
31+
## Issues, Support, Security, and Contributing
32+
33+
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](mailto:security@aws.com). If you are interested in contributiong, please fork the repository and submit a merge or pull request.
1334

1435
## License
1536

16-
This library is licensed under the MIT-0 License. See the LICENSE file.
37+
This library is licensed under the [MIT-0](https://github.com/aws/mit-0) License. See the LICENSE file.
38+
39+
## Security
40+
41+
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
1742

43+
We hope you **Enjoy Exploring!**

0 commit comments

Comments
 (0)