Domains
akamai_property_domainownership_domains
Beta
Hello. Just a note to let you know the underlying API on which this data source 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.
List all domains available to you.
Note: This data source's output can return a lot of data, which may overload your terminal. In this case, we recommend using:
- Additional built-in Terraform filters in this data source to limit the output only to the needed entries.
- The
akamai_domainownership_search_domainsdata source, instead of this one, if you already know your domain details.
data "akamai_property_domainownership_domains" "my-domains" {}
output "my-domains" {
value = data.akamai_property_domainownership_domains.my-domains
}
my-domains = {
domains = [
{
account_id = "A-CCT1234"
domain_name = "example.com"
domain_status = "VALIDATED"
validation_challenge = {
cname_record = {
name = "_acme-challenge.example.com"
target = "ac.1ab23c45def678gh9ij01klm23n4op.example.com.validate-akdv.net"
}
expiration_date = "2025-05-04T16:33:54Z"
http_file = {
content = "abcDeFghi12JK-LmNopQr3ST-uVwX4Y_zAbCDEfgijkLmnoPqRstuV5-wXy678Z"
content_type = "text/plain"
path = "https://example.com/.well-known/akamai/akamai-challenge/abc1dEf3gh-ij3hlmoPr"
}
http_redirect = {
from = "https://example.com/.well-known/akamai/akamai-challenge/abc1dEf3gh-ij3hlmoPr"
to = "https://validation.akamai.com/.well-known/akamai/akamai-challenge/abcDeFghi12JK-LmNopQr3ST-uVwX4Y_zAbCDEfgijkLmnoPqRstuV5-wXy678Z"
}
txt_record = {
name = "_akamai-host-challenge.example.com"
value = "abcDeFghi12JK-LmNopQr3ST-uVwX4Y_zAbCDEfgijkLmnoPqRstuV5-wXy678Z"
}
}
validation_completed_date = "2025-02-03T16:35:00Z"
validation_method = "HTTP"
validation_requested_by = "jsmith"
validation_requested_date = "2025-02-03T16:33:54Z"
validation_scope = "HOST"
},
{
account_id = "A-CCT1234"
domain_name = "sub.example.com"
domain_status = "VALIDATED"
validation_challenge = {
cname_record = {
name = "_acme-challenge.sub.example.com"
target = "ac.z9yx87wv654utsrq32ponm10lk987j.sub.example.com.validate-akdv.net"
}
expiration_date = "2025-05-04T16:18:23Z"
http_file = null
http_redirect = null
txt_record = {
name = "_akamai-wildcard-challenge.sub.example.com"
value = "zyXwyUT98Sr-qPonmLkJi7Hg-FeDC6b_AzywVusTrQpONmlkJ5iHGf-eDc43b"
}
}
validation_completed_date = "2025-02-03T16:28:17Z"
validation_method = "DNS_TXT"
validation_requested_by = "jsmith"
validation_requested_date = "2025-02-03T16:18:23Z"
validation_scope = "WILDCARD"
},
]
}
Arguments
Pass an empty data block to get all domains available to you.
Attributes
Returned to you is a set of domains with their details.
| Attribute | Description |
|---|---|
account_id |
The account's ID. |
validation_scope |
The domain's validation scope. Possible values are:
|
domain_name |
The domain's name. |
domain_status |
The domain's validation status. Possible values are:
|
validation_method |
The method used to validate the domain. Possible values are:
|
validation_requested_by |
The name of the user who requested the domain validation. |
validation_requested_date |
The timestamp indicating when the domain validation was requested. |
validation_completed_date |
The timestamp indicating when the domain validation was completed. |
validation_challenge |
The domain's validation challenge details. Includes:
|
Updated about 15 hours ago
