Skip to main content

A Pulumi package for creating and managing logfire cloud resources.

Project description

Logfire Resource Provider

Manage Pydantic Logfire projects, alerts, dashboards, channels, and API tokens with Pulumi.

Installing

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @pydantic/pulumi-logfire

or yarn:

yarn add @pydantic/pulumi-logfire

Python

To use from Python, install using pip:

pip install pydantic-pulumi-logfire

Import it in code as pulumi_logfire.

Go

To use from Go, use go get to grab the latest version of the library:

go get github.com/pydantic/pulumi-logfire/sdk/go/logfire

Configuration

The following configuration points are available for the logfire provider:

  • logfire:baseUrl (environment: LOGFIRE_BASE_URL) – Optional override for the Logfire API base URL. If omitted, the provider uses LOGFIRE_BASE_URL or infers the SaaS endpoint from the API key region. Self-hosted customers should set this explicitly.
  • logfire:apiKey (environment: LOGFIRE_API_KEY) – Bearer token for the Logfire API.

Example stack config:

pulumi config set --secret logfire:apiKey pylf_v2_us_...
# Self-hosted only:
# pulumi config set logfire:baseUrl https://<self-hosted-logfire>

For Logfire SaaS, the provider infers https://logfire-us.pydantic.dev or https://logfire-eu.pydantic.dev from the API key region. If you set logfire:baseUrl or LOGFIRE_BASE_URL, that value is used instead.

Reference

For detailed reference documentation, please visit the Pulumi registry.

Resources

  • Projects (logfire:Project)
  • Channels (logfire:Channel)
  • Alerts (logfire:Alert)
  • Dashboards (logfire:Dashboard)
  • Write tokens (logfire:WriteToken)
  • Read tokens (logfire:ReadToken)
  • Organizations (logfire:Organization)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydantic_pulumi_logfire-0.1.8.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydantic_pulumi_logfire-0.1.8-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file pydantic_pulumi_logfire-0.1.8.tar.gz.

File metadata

  • Download URL: pydantic_pulumi_logfire-0.1.8.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for pydantic_pulumi_logfire-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2ef3a6743a0970302fac4fbc8535b9e27dc6b79223d14671939c3458226e4300
MD5 5a26ab9d5645aef11eb4066abd151d37
BLAKE2b-256 5006604235880a20a6742c30a126e269c0d84df9e3596fadf2a52afe5fba4873

See more details on using hashes here.

File details

Details for the file pydantic_pulumi_logfire-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for pydantic_pulumi_logfire-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 990eae6a2e0f7d36f112292ad666f6d0d84feabb68bc82c09bed8745cc52e544
MD5 1846fa052bb9888ab318066d98d61c58
BLAKE2b-256 e2a09c94335863ffdf7972b73c1ab13a034f5c2ac7c4a728ff1367a9ff5ce97d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page