This release is a pre-release and may not be stable for production use.
Pulumi SendGrid Provider
Community Provider
This is an unofficial, community-maintained Pulumi provider for SendGrid. It is not affiliated with, endorsed by, or supported by Pulumi Corporation or Twilio/SendGrid. This project is an independent effort to bring infrastructure-as-code capabilities to SendGrid using Pulumi.
- Not an official product - Created and maintained by the community
- No warranties - Provided "as-is" under the Apache 2.0 License
- Community support only - Issues and questions via GitHub
A native Pulumi provider for managing SendGrid resources.
Installation
Node.js (npm)
npm install @jdetmar/pulumi-sendgrid
Python (pip)
pip install pulumi-sendgrid
Go
go get github.com/JDetmar/pulumi-sendgrid/sdk/go/sendgrid
.NET (NuGet)
dotnet add package Community.Pulumi.Sendgrid
Configuration
| Key | Environment Variable | Required | Description |
|---|---|---|---|
sendgrid:apiKey |
SENDGRID_API_KEY |
Yes | SendGrid API key for authentication |
sendgrid:baseUrl |
— | No | API base URL (default: https://api.sendgrid.com). Use https://api.eu.sendgrid.com for EU regional subusers. |
pulumi config set sendgrid:apiKey --secret SG.xxxxx
# or
export SENDGRID_API_KEY="SG.xxxxx"
Example (TypeScript)
import * as sendgrid from "@jdetmar/pulumi-sendgrid";
const apiKey = new sendgrid.ApiKey("myApiKey", {
name: "my-app-api-key",
scopes: ["mail.send", "alerts.read"],
});
const template = new sendgrid.Template("myTemplate", {
name: "welcome-email",
generation: "dynamic",
});
export const apiKeyId = apiKey.apiKeyId;
export const templateId = template.templateId;
See the examples/ directory for complete programs in Go, Python, .NET, and YAML.
Resources
| Resource | Description |
|---|---|
sendgrid:Alert |
Email alerts for usage and statistics thresholds |
sendgrid:ApiKey |
API keys with scoped permissions |
sendgrid:DomainAuthentication |
Domain authentication (DKIM/SPF) for sender identity |
sendgrid:EventWebhook |
Webhooks for email event notifications |
sendgrid:GlobalSuppression |
Global unsubscribe entries |
sendgrid:IpPool |
IP pools for organizing dedicated IPs (Pro plan) |
sendgrid:LinkBranding |
Branded tracking links for click/open tracking |
sendgrid:Subuser |
Subuser accounts with independent settings (Pro plan) |
sendgrid:Teammate |
Teammate accounts with role-based access |
sendgrid:Template |
Transactional email templates |
sendgrid:TemplateVersion |
Versioned content for email templates |
sendgrid:UnsubscribeGroup |
Suppression groups for subscription management |
sendgrid:VerifiedSender |
Verified sender identities |
Development
Prerequisites
Build and install
make build install
Run provider unit tests
make test_provider
Regenerate SDKs after provider changes
make codegen
License
Apache 2.0 — see LICENSE for details.
Metadata
Release files for pulumi-sendgrid 0.1.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pulumi_sendgrid-0.1.0a2.tar.gz | 22.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulumi_sendgrid-0.1.0a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.0 kB
Release files / pulumi_sendgrid-0.1.0a2.tar.gz
| Download URL | pulumi_sendgrid-0.1.0a2.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7793738925a88f60113ab351976e1236f7e846e499946a79f243d85bbbd12c1
|
|
BLAKE2b-256 checksum How to use checksums |
8d23569dc1a88550cda486ac56ee0448616edf07e97bfc0ce0b29ddd4c77948c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logRelease files / pulumi_sendgrid-0.1.0a2-py3-none-any.whl
| Download URL | pulumi_sendgrid-0.1.0a2-py3-none-any.whl |
|---|---|
| Size | 39.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ad55ce8de2b473f7d96cc8406080691335ef3ec119b1e6798cacc5c56083b7b
|
|
BLAKE2b-256 checksum How to use checksums |
3b698bdf6413cf651bdbfc36a25cbb8a5c932ef1913207bd8ad269956b6d2bae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logSecurity for pulumi-sendgrid 0.1.0a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pulumi_sendgrid-0.1.0a2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.