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

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

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

porkbun_url_forwards (Data Source)

Retrieve all URL forwards associated with a domain.

Example Usage

data "porkbun_url_forwards" "test" {
  domain = "jiancodes.com"
}

Schema

Required

  • domain (String) The domain name.

Read-Only

Nested Schema for url_forwards

Read-Only:

  • id (String) The record ID.
  • include_path (Boolean) Whether to append the request URI path to the forwarding destination.
  • location (String) The destination URL to forward to.
  • redirect_type (String) The exact redirect type; takes precedence over type when supplied. 301 = permanent, 302 or 307 = temporary (this is how you request 307), masked = URL masking.
  • subdomain (String) The subdomain portion only (optional, leave blank or omit for root domain). Alphanumeric and hyphens only.
  • type (String) Redirect kind. permanent = HTTP 301; temporary = HTTP 302 (default); masked = loads the destination in a frame (URL masking).
  • wildcard (Boolean) Whether to also forward all subdomains of the forwarded subdomain.