Selectable hostnames

akamai_appsec_selectable_hostnames

Returns the list of hostnames that can be (but aren't yet) protected by a security configuration. You can specify the set of hostnames to be retrieved either by supplying the name of a security configuration or by supplying an Akamai group ID and contract ID.

data "akamai_appsec_selectable_hostnames" "my_selectable_hostnames" {
  config_id = 12345
}

output "my_selectable_hostnames" {
  value = data.akamai_appsec_selectable_hostnames.my_selectable_hostnames.hostnames
}

Arguments

ArgumentRequiredDescription
config_idA security configuration ID. Note that argument can't be used with either the contractid or the groupid arguments
contractidUnique identifier of the Akamai contract you want to return hostname information for. If not included, information is returned for all the Akamai contracts associated with your account. Note that this argument can't be used with the config_id argument
groupidUnique identifier of the contract group you want to return hostname information for. If not included, information is returned for all your contract groups. (Or, if you include the contractid argument, all the groups associated with the specified contract.) Note that this argument can't be used with the config_id argument.

Attributes

Returned is a list of selectable hostnames.