terraform-provider-namecheap icon indicating copy to clipboard operation
terraform-provider-namecheap copied to clipboard

Add support for email redirect rules

Open StefanTheWiz opened this issue 1 year ago • 1 comments

Hi

I have a feature request. I'd like to be able to set the email redirect rules via Terraform, without having to log into the control panel to do it manually.

  • Terraform Version: v1.x
  • Namecheap provider version: v2.1.1

Example

resource "namecheap_domain_records" "my-domain-com" {
  # ...
  email_type = "FWD"

  email_redirect {
    alias = "*" # this would be the catch-all
    to    = "[email protected]"
  }
  email_redirect {
    alias = "[email protected]"
    to    = "[email protected]"
  }
}

StefanTheWiz avatar Jan 13 '24 16:01 StefanTheWiz

To manage email redirect rules using Terraform, especially for Namecheap, you need to rely on the provider's support for such features. Now, direct support for email forwarding or redirect rules through the Terraform Namecheap provider is not available out of the box. We will consider this feature request.

kurok avatar Feb 07 '24 16:02 kurok