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 theakamai_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.
Argument | Required | Description |
---|---|---|
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_recipients | A list of email addresses that receive activation status notifications. | |
auto_acknowledge_warnings | Whether 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.
Attribute | Description |
---|---|
auto_acknowledge_warnings | Whether the activation proceeded despite warnings. |
status | The activation status. Value is one of:
|
Updated about 16 hours ago