GuideReference
Guide

WAP selected hostnames

akamai_appsec_wap_selected_hostnames

Modifies the list of hostnames to be protected or evaluated under a security configuration and security policy. Either the evaluated hostnames or the protected hostnames may be omitted from or may be specified as an empty array (i.e., no hosts are to be protected or evaluated) in your Terraform configuration file. However, at least one non-empty list must be included in the Terraform configuration file.

Note: This data source requires your account uses App and API Protector.

resource "akamai_appsec_wap_selected_hostnames" "appsecwap_selectedhostnames" {
  config_id          = 12345
  security_policy_id = "abcd_1234567"
  protected_hosts    = ["documentation-example.akamai.com"]
  evaluated_hosts    = ["training-example.akamai.com"]
}

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the hostnames being protected or evaluated.
  • security_policy_id (Required). Unique identifier of the security policy responsible for protecting or evaluating the specified hosts.
  • protected_hosts (Optional). JSON array of the hostnames to be protected. You must use either this argument or the evaluated_hosts argument.
  • evaluated_hosts (Optional). JSON array of the hostnames to be evaluated. You must use either this argument or the protected_hosts argument.