Domain validation
akamai_property_domainownership_validation
Beta
Hello. Just a note to let you know the underlying API on which this resource is built is in a beta state, so it's not vetted yet.
Because this functionality is also new to our Terraform provider, we've given it beta label to get your feedback to make sure it works like you need and expect.
For more details on domain validation enforcement, see the Validate domains guide.
Validate or invalidate your domains. To invalidate all domains, run terraform destroy.
You can validate up to 1,000 domains in that resource at once. However, for optimal performance and a smoother user experience, keep the number of domains well below this limit.
resource "akamai_property_domainownership_validation" "my-validation" {
domains = [
{
domain_name = "example.com"
validation_scope = "HOST"
validation_method = "DNS_CNAME"
},
{
domain_name = "sub.example.com"
validation_scope = "WILDCARD"
validation_method = "DNS_CNAME"
}
]
}
my-validation = {
domains = [
{
domain_name = "example.com"
validation_method = "DNS_CNAME"
validation_scope = "HOST"
},
{
domain_name = "sub.example.com"
validation_method = "DNS_CNAME"
validation_scope = "WILDCARD"
},
]
timeouts = null
}
Arguments
Send a list of domains to validate.
| Argument | Required | Description |
|---|---|---|
domains |
✔ | A list of domains. Each domain record includes:
|
timeouts |
Uses the create and update arguments to override the provider's processing timeout. By default, it's 30 minutes. Value is a string containing a number and its time reference, h for hours, m for minutes, s for seconds. You can pass one, two, or all time units. For example:
|
Attributes
There's no standard output for this resource as changes are reflected in your state file and based on what you passed in the resource block body.
Updated about 15 hours ago
