1. Packages
  2. Timescale Provider
timescale 1.13.1 published on Thursday, Feb 6, 2025 by timescale

Timescale Provider

timescale logo
timescale 1.13.1 published on Thursday, Feb 6, 2025 by timescale

    Generate Provider

    The Timescale provider must be installed as a Local Package by following the instructions for Any Terraform Provider:

    pulumi package add terraform-provider timescale/timescale
    

    Overview

    The Pulumi provider for Timescale.

    Requirements

    • Pulumi >= 1.0

    Quick Start

    Authorization

    When you log in to your Timescale Account, navigate to the Project settings page. From here, you can create client credentials for programmatic usage. Click the Create credentials button to generate a new public/secret key pair.

    Project ID

    The project ID can be found on the Project settings page.

    Create a main.tf configuration file with the following content.

    VPC Peering

    Since v1.9.0 it is possible to peer Timescale VPCs using pulumi.

    Below is an example configuration:

    As of v1.9.2, the awsVpcPeeringConnection import id must be manually added. This value, always starting with pcx-... will be available in timescale_peering_connection.pc.provisioned_id after a pulumi refresh.

    Supported Service Configurations

    Compute

    • 500m CPU / 2 GB Memory
    • 1000m CPU / 4 GB Memory
    • 2000m CPU / 8 GB Memory
    • 4000m CPU / 16 GB Memory
    • 8000m CPU / 32 GB Memory
    • 16000m CPU / 64 GB Memory
    • 32000m CPU / 128 GB Memory

    Storage

    Since June 2023, you no longer need to allocate a fixed storage volume or worry about managing your disk size, and you’ll be billed only for the storage you actually use. See more info in our blogpost

    Supported Operations

    ✅ Create service
    ✅ Rename service
    ✅ Resize service
    ✅ Pause/resume service
    ✅ Delete service
    ✅ Import service
    ✅ Enable High Availability replicas
    ✅ Enable read replicas
    ✅ VPC peering
    ✅ Connection pooling

    Billing

    Services are currently billed for hourly usage. If a service is running for less than an hour, it will still be charged for the full hour of usage.

    timescale logo
    timescale 1.13.1 published on Thursday, Feb 6, 2025 by timescale