Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Terraform provider #162

Open
politician opened this issue May 18, 2022 · 2 comments
Open

Feature request: Terraform provider #162

politician opened this issue May 18, 2022 · 2 comments

Comments

@politician
Copy link

politician commented May 18, 2022

Intro

Terraform is great for managing remote resources and ensuring everything is in a given state. It has more than 2000 providers and is the leading cloud infrastructure management software. The closest contender is Pulumi and it supports Terraform providers.

Benefits for forwardemail.net customers

  • Be able to manage forwardemail.net resources (domains/aliases/etc) as part of a greater infrastructure stack

Benefits for forwardemail.net

  • Boost forwardemail.net visibility to the DevOps crowd
  • Enable forwardemail.net usage in DevOps-enabled organizations
  • Boost sales since the API is only available for paid plans

Example usage

Aliases and domains can be specified in a file in a GitHub repository. Every time there is a change (commit), Terraform will ensure the configuration described in the GitHub repository is the same in forwardemail.net: adding any domains/aliases that have been added and deleting those that have been deleted from the file.
This workflow has the benefit of making this repo the source of truth.

Existing email forwarding solutions for Terraform users

Helpful resources

@politician
Copy link
Author

politician commented May 26, 2022

I managed to achieve what I wanted to do using the Rest API provider, it's not perfect but it does the job until there's a full fledged Terraform provider available for forwardemail.net.

The code can be found in my public repo:

@abagayev
Copy link

abagayev commented Nov 5, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants