|
| 1 | +# DynamoDB Table s3 import example |
| 2 | + |
| 3 | +Configuration in this directory creates an AWS DynamoDB table created from s3 imports (both json and csv examples). |
| 4 | + |
| 5 | +## Usage |
| 6 | + |
| 7 | +To run this example you need to execute: |
| 8 | + |
| 9 | +```bash |
| 10 | +$ terraform init |
| 11 | +$ terraform plan |
| 12 | +$ terraform apply |
| 13 | +``` |
| 14 | + |
| 15 | +Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources. |
| 16 | + |
| 17 | +<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
| 18 | +## Requirements |
| 19 | + |
| 20 | +| Name | Version | |
| 21 | +|------|---------| |
| 22 | +| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 | |
| 23 | +| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.21 | |
| 24 | +| <a name="requirement_random"></a> [random](#requirement\_random) | >= 2.0 | |
| 25 | + |
| 26 | +## Providers |
| 27 | + |
| 28 | +| Name | Version | |
| 29 | +|------|---------| |
| 30 | +| <a name="provider_random"></a> [random](#provider\_random) | >= 2.0 | |
| 31 | + |
| 32 | +## Modules |
| 33 | + |
| 34 | +| Name | Source | Version | |
| 35 | +|------|--------|---------| |
| 36 | +| <a name="module_import_csv_table"></a> [import\_csv\_table](#module\_import\_csv\_table) | ../../ | n/a | |
| 37 | +| <a name="module_import_json_table"></a> [import\_json\_table](#module\_import\_json\_table) | ../../ | n/a | |
| 38 | +| <a name="module_s3_bucket"></a> [s3\_bucket](#module\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 3.15 | |
| 39 | +| <a name="module_s3_import_object_csv"></a> [s3\_import\_object\_csv](#module\_s3\_import\_object\_csv) | terraform-aws-modules/s3-bucket/aws//modules/object | ~> 3.15 | |
| 40 | +| <a name="module_s3_import_object_json"></a> [s3\_import\_object\_json](#module\_s3\_import\_object\_json) | terraform-aws-modules/s3-bucket/aws//modules/object | ~> 3.15 | |
| 41 | + |
| 42 | +## Resources |
| 43 | + |
| 44 | +| Name | Type | |
| 45 | +|------|------| |
| 46 | +| [random_pet.this](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/pet) | resource | |
| 47 | + |
| 48 | +## Inputs |
| 49 | + |
| 50 | +No inputs. |
| 51 | + |
| 52 | +## Outputs |
| 53 | + |
| 54 | +| Name | Description | |
| 55 | +|------|-------------| |
| 56 | +| <a name="output_import_csv_table_arn"></a> [import\_csv\_table\_arn](#output\_import\_csv\_table\_arn) | ARN of the DynamoDB table | |
| 57 | +| <a name="output_import_csv_table_id"></a> [import\_csv\_table\_id](#output\_import\_csv\_table\_id) | ID of the DynamoDB table | |
| 58 | +| <a name="output_import_csv_table_stream_arn"></a> [import\_csv\_table\_stream\_arn](#output\_import\_csv\_table\_stream\_arn) | The ARN of the Table Stream. Only available when var.stream\_enabled is true | |
| 59 | +| <a name="output_import_csv_table_stream_label"></a> [import\_csv\_table\_stream\_label](#output\_import\_csv\_table\_stream\_label) | A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream\_enabled is true | |
| 60 | +| <a name="output_import_json_table_arn"></a> [import\_json\_table\_arn](#output\_import\_json\_table\_arn) | ARN of the DynamoDB table | |
| 61 | +| <a name="output_import_json_table_id"></a> [import\_json\_table\_id](#output\_import\_json\_table\_id) | ID of the DynamoDB table | |
| 62 | +| <a name="output_import_json_table_stream_arn"></a> [import\_json\_table\_stream\_arn](#output\_import\_json\_table\_stream\_arn) | The ARN of the Table Stream. Only available when var.stream\_enabled is true | |
| 63 | +| <a name="output_import_json_table_stream_label"></a> [import\_json\_table\_stream\_label](#output\_import\_json\_table\_stream\_label) | A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream\_enabled is true | |
| 64 | +<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
0 commit comments