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.
- Server resource.tf
- Sender Signatures resource.tf
- Domains resource.tf
- Webhooks resource.tf
- Templates
- Message Streams
- Triggers: Inbound Rules
- Block that will verify domain DKIM and Return Path on an interval using verify endpoints
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.
- Enter the
examplesdirectory.
cd examples- Create a
terraform.tfvarsfile with the following content:
postmark_account_token = "POSTMARK_ACCOUNT_TOKEN"
existing_server_id = "EXISTING_POSTMARK_SERVER_ID"- Initialize the provider plugins.
terraform init- Check the execution plan.
terraform plan- 🚀 Apply the changes.
terraform apply --auto-approve