alicloud_dcdn_ipa_domain

Provides a DCDN Ipa Domain resource.

For information about DCDN Ipa Domain and how to use it, see What is Ipa Domain.

Example Usage

Basic Usage

resource "random_integer" "default" {
  min = 10000
  max = 99999
}

data "alicloud_resource_manager_resource_groups" "default" {}

resource "alicloud_dcdn_ipa_domain" "example" {
  domain_name       = "example-${random_integer.default.result}.com"
  resource_group_id = data.alicloud_resource_manager_resource_groups.default.groups.0.id
  scope             = "overseas"
  status            = "online"
  sources {
    content  = "www.alicloud-provider.cn"
    port     = 8898
    priority = "20"
    type     = "domain"
    weight   = 10
  }
}

Argument Reference

The following arguments are supported:

sources

The sources supports the following:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

DCDN Ipa Domain can be imported using the id, e.g.

$ terraform import alicloud_dcdn_ipa_domain.example <domain_name>