Skip to content

arslanbekov/terraform-provider-sendgrid

Repository files navigation

Terraform Provider for SendGrid

Build Status Go Report Card codecov

A comprehensive Terraform provider for managing SendGrid resources.

Key Features

  • Advanced Rate Limiting - Built-in exponential backoff and retry logic
  • Teammate Management - Complete lifecycle management, including pending invitations
  • Template Management - Full template and version control
  • Multiple Auth Methods - Environment variables, Terraform variables, and more
  • Rich Documentation - Extensive examples and troubleshooting guides

Quick Start

# Set your API key
export SENDGRID_API_KEY="SG.your-api-key-here"
terraform {
  required_providers {
    sendgrid = {
      source  = "arslanbekov/sendgrid"
      version = "~> 2.0"
    }
  }
}

provider "sendgrid" {}

resource "sendgrid_teammate" "example" {
  email    = "[email protected]"
  is_admin = false
  is_sso   = false
  scopes   = ["mail.send"]
}
terraform init && terraform apply

Documentation

Topic Description
Installation Installation methods and requirements
Authentication All authentication methods and security best practices
Resources Complete list of resources and data sources
Examples Practical usage examples and patterns
Troubleshooting Common issues and solutions
Contributing Development setup and contribution guidelines

Popular Use Cases

  • Team Management: Invite and manage teammates with specific permissions
  • Email Templates: Create and version email templates
  • API Key Management: Secure API key creation with minimal scopes
  • Domain Setup: Configure domain authentication and link branding
  • Webhook Configuration: Set up event and parse webhooks

Quick Links

License

This project is licensed under the Mozilla Public License 2.0.


Disclaimer: This is an unofficial provider maintained by the community. While it offers enhanced features and comprehensive testing, evaluate thoroughly for production use.

Packages

No packages published

Contributors 7

Languages