-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New resource: aws_timestreamquery_scheduled_query #41145
Conversation
Community NoteVoting for Prioritization
For Submitters
|
New and Improved! ⭐ Contains 0 SingleNestedBlocks! % make t T=TestAccTimestreamQueryScheduledQuery_ K=timestreamquery
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/timestreamquery/... -v -count 1 -parallel 20 -run='TestAccTimestreamQueryScheduledQuery_' -timeout 360m -vet=off
2025/01/29 20:22:37 Initializing Terraform AWS Provider...
=== RUN TestAccTimestreamQueryScheduledQuery_basic
=== PAUSE TestAccTimestreamQueryScheduledQuery_basic
=== RUN TestAccTimestreamQueryScheduledQuery_disappears
=== PAUSE TestAccTimestreamQueryScheduledQuery_disappears
=== CONT TestAccTimestreamQueryScheduledQuery_basic
=== CONT TestAccTimestreamQueryScheduledQuery_disappears
--- PASS: TestAccTimestreamQueryScheduledQuery_disappears (107.43s)
--- PASS: TestAccTimestreamQueryScheduledQuery_basic (109.08s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/timestreamquery 113.214s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
% make t T=TestAccTimestreamQueryScheduledQuery_ K=timestreamquery
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/timestreamquery/... -v -count 1 -parallel 20 -run='TestAccTimestreamQueryScheduledQuery_' -timeout 360m -vet=off
2025/01/29 19:36:59 Initializing Terraform AWS Provider...
--- PASS: TestAccTimestreamQueryScheduledQuery_disappears (100.73s)
--- PASS: TestAccTimestreamQueryScheduledQuery_basic (102.69s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/timestreamquery 109.381s
This functionality has been released in v5.85.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Description
Amazon Timestream for LiveAnalytics offers a scheduled query feature that helps businesses efficiently process and store aggregated data for real-time analytics. This fully managed, serverless solution automatically runs predefined queries to compute aggregates, rollups, and other summaries, storing the results in a separate table. By doing so, scheduled queries enhance performance and reduce costs, making real-time analytics more accessible for dashboards, reports, and other business applications.
Instead of querying large source tables, users can query these smaller, preprocessed tables, significantly improving speed and reducing storage costs. The feature integrates seamlessly with existing tools like SQL, Grafana, Amazon Kinesis, AWS IoT Core, and Telegraf. Additionally, data retention for aggregated tables is independent of source tables, allowing businesses to store key insights longer at a lower cost while keeping the original data only as long as necessary. This makes real-time analytics faster, more cost-effective, and scalable for a wide range of use cases.
Relations
Closes #22507
References
Output from Acceptance Testing