Configuration in this directory creates AWS DynamoDB table with autoscaling.
To run this example you need to execute:
$ terraform init
$ terraform plan
$ terraform apply
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.
Name | Version |
---|---|
terraform | >= 0.12.6 |
aws | >= 3.37 |
random | >= 2.0 |
Name | Version |
---|---|
random | 3.1.0 |
Name | Source | Version |
---|---|---|
disabled_dynamodb_table | ../../ | n/a |
dynamodb_table | ../../ | n/a |
Name | Type |
---|---|
random_pet.this | resource |
No inputs.
Name | Description |
---|---|
dynamodb_table_arn | ARN of the DynamoDB table |
dynamodb_table_id | ID of the DynamoDB table |
dynamodb_table_stream_arn | The ARN of the Table Stream. Only available when var.stream_enabled is true |
dynamodb_table_stream_label | A timestamp, in ISO 8601 format of the Table Stream. Only available when var.stream_enabled is true |