terraform-provider-namecheap
terraform-provider-namecheap copied to clipboard
Add support for email redirect rules
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]"
}
}
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.