Viewing docs for sql 0.5.0
published on Monday, Apr 14, 2025 by paultyng
published on Monday, Apr 14, 2025 by paultyng
Sql Provider
I want to use the Pulumi sql package (sql) in my project.
## Provider details
- Package: sql
- Version: 0.5.0
- Publisher: paultyng
- Source: opentofu
- Repository: https://github.com/paultyng/terraform-provider-sql
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/opentofu/paultyng/sql/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/opentofu/paultyng/sql/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/opentofu/paultyng/sql/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/opentofu/paultyng/sql/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for sql 0.5.0
published on Monday, Apr 14, 2025 by paultyng
published on Monday, Apr 14, 2025 by paultyng
Generate Provider
The Sql provider must be installed as a Local Package by following the instructions for Any Terraform Provider:
pulumi package add terraform-provider paultyng/sql
Configuration Reference
maxIdleConns(Number) Sets the maximum number of connections in the idle connection pool. Default is2. See Go’s documentation on DB.SetMaxIdleConns.maxOpenConns(Number) Sets the maximum number of open connections to the database. Default is0(unlimited). See Go’s documentation on DB.SetMaxOpenConns.url(String) Database connection strings are specified via URLs. The URL format is driver dependent but generally has the form:dbdriver://username:password@host:port/dbname?param1=true¶m2=false. You can optionally set theSQL_URLenvironment variable instead.
Viewing docs for sql 0.5.0
published on Monday, Apr 14, 2025 by paultyng
published on Monday, Apr 14, 2025 by paultyng
