Activation

Activate your API collection on a network.

Note: If you don't know your API's ID, use a local variable referencing the id attribute of the akamai_apidefinitions_api resource.

resource "akamai_apidefinitions_activation" "my_api_activation" {
  api_id                    = 123456
  version                   = 1
  network                   = "STAGING"
  notification_recipients   = ["jsmith@email.com"]
  auto_acknowledge_warnings = true
}

Arguments

Pass your API collection's ID and version along with the network on which to activate it.

ArgumentRequiredDescription
api_id✔️A local variable pointing to the id attribute of the akamai_apidefinitions_api resource.
version✔️The API version to activate.
network✔️The network on which to activate your API. Either STAGING or PRODUCTION.
notification_recipientsA list of email addresses that receive activation status notifications.
auto_acknowledge_warningsWhether the activation should proceed despite any warnings. The default is false.

Attributes

There is no standard output for this resource. Changes are reflected in your state file.

AttributeDescription
auto_acknowledge_warningsWhether the activation proceeded despite warnings.
statusThe activation status. Value is one of:
  • PENDING
  • ACTIVE
  • DEACTIVATED
  • FAILED