Skip to content

marcus-carey/terraform-provider-postmark

Repository files navigation

Postmark Terraform Provider

This is a terraform provider for Postmark Account Management such as servers, senders, domains, and templates.

This provider uses the Postmark API facilitated by the community library Postmark Golang by Mr. Z.

Supported Resources/DataSources

Roadmap

  • Templates
  • Message Streams
  • Triggers: Inbound Rules
  • Block that will verify domain DKIM and Return Path on an interval using verify endpoints

Developing Locally

Prerequisites

⚙️ Building the provider

Execute the build file of the provider.

make install

💡 A file named ~/.terraform.d/plugins/marcus.carey/terraform/postmark/1.0/${OS_ARCH}/terraform-provider-postmark will be created. This is your custom provider.

⏯ Playing with the provider

  1. Enter the examples directory.
cd examples
  1. Create a terraform.tfvars file with the following content:
postmark_account_token = "POSTMARK_ACCOUNT_TOKEN"
existing_server_id = "EXISTING_POSTMARK_SERVER_ID"
  1. Initialize the provider plugins.
terraform init
  1. Check the execution plan.
terraform plan
  1. 🚀 Apply the changes.
terraform apply --auto-approve

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors