jianyuan/terraform-provider-porkbun
tldr.page
Email Forwards

generated by https://github.com/hashicorp/terraform-plugin-docs

page_title: "porkbun_email_forwards Data Source - terraform-provider-porkbun" subcategory: "" description: |- Retrieve all email forwards associated with a domain.

porkbun_email_forwards (Data Source)

Retrieve all email forwards associated with a domain.

Example Usage

data "porkbun_email_forwards" "example" {
  domain = "example.com"
}

Schema

Required

  • domain (String) The domain name.

Read-Only

  • dns_configured (Boolean) Whether the domain's DNS is configured for email forwarding.
  • email_forwards (Attributes Set) List of email forwards. (see below for nested schema)
  • limits (Attributes) The forwards the domain has (used, including any Porkbun manages itself) and may have (max). (see below for nested schema)

Nested Schema for email_forwards

Read-Only:

  • address (String) The forwarded address: the part before the @.
  • created (String) When the forward was created.
  • forward_to (String) The mailbox mail is delivered to.

Nested Schema for limits

Read-Only:

  • max (Number) The maximum number of forwards allowed.
  • used (Number) The number of forwards in use.