Serve alternate action

akamai_botman_serve_alternate_action

Creates or updates a serve alternate action.

Example

resource "akamai_botman_serve_alternate_action" "serve_alternate_action" { config_id = data.akamai_appsec_configuration.configuration.config_id serve_alternate_action = file("${path.module}/serve_alternate_action.json") } resource "akamai_botman_serve_alternate_action" "serve_alternate_action" { config_id = "e08a628e-8a3c-4cd3-a5c9-8767c064ceb8" serve_alternate_action = file("${path.module}/serve_alternate_action.json") }

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the serve alternate action.
  • serve_alternate_action (Required). JSON-formatted collection of serve alternate action settings and setting values. In the preceding sample code, the syntax file("${path.module}/serve_alternate_action.json") points to the location of a JSON file containing the serve alternate action settings and values. Use the Bot Manager API or Bot Manager in Akamai Control Center to create a configuration. Then, export your configuration or use the corresponding data source to get the JSON file.

Did this page help you?