Skip to content

epomatti/aws-timestream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-timestream

Sandbox for Timestream.

Create the infrastructure:

terraform init
terraform apply -auto-approve

Install dependencies:

yarn install

Run the script to send data to Timestream:

yarn run app

After writing data, connect to the console and run a query:

SELECT * FROM "timestream-sandbox"."orders" WHERE time between ago(15m) and now() ORDER BY time DESC LIMIT 10 

Clean-up

terraform destroy -auto-approve