GuideReference
TrainingSupportCommunity

Hostname coverage match targets

akamai_appsec_hostname_coverage_match_targets

Returns information about the API and website match targets used to protect a hostname.

Scopes: Hostname

Example

terraform {
  required_providers {
    akamai = {
      source = "akamai/akamai"
    }
  }
}

provider "akamai" {
  edgerc = "~/.edgerc"
}

data "akamai_appsec_configuration" "configuration" {
  name = "Documentation"
}

data "akamai_appsec_hostname_coverage_match_targets" "match_targets" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
  hostname  = "documentation.akamai.com"
}

Argument reference

This data source supports the following arguments:

  • config_id. (Required). Unique identifier of the security configuration associated with the hostname.
  • hostname (Required). Name of the host you want to return information for. You can only return information for a single host and hostname at a time.

Output options

The following options can be used to determine the information returned, and how that returned information is formatted:

  • json. JSON-formatted list of the coverage information.
  • output_text. Tabular report of the coverage information.