Configuration version
akamai_appsec_configuration_version
Get versioning information for a security configuration.
data "akamai_appsec_configuration_version" "my-config-version" {
  config_id = 12345
  version   = 1
}
output "my-config-version" {
  value = data.akamai_appsec_configuration_version.my-config-version
}
Changes to Outputs:
  + my-config-version = {
      + config_id         = 12345
      + id                = "12345"
      + latest_version    = 2
      + output_text       = <<-EOT
            +-----------------------------------------------------+
            | ConfigurationVersion                                |
            +----------------+----------------+-------------------+
            | VERSION NUMBER | STAGING STATUS | PRODUCTION STATUS |
            +----------------+----------------+-------------------+
            | 1              | Deactivated    | Inactive          |
            | 2              | Inactive       | Inactive          |
            +----------------+----------------+-------------------+
        EOT
      + production_status = "Inactive"
      + staging_status    = "Deactivated"
      + version           = 1
    }
Arguments
Send a security configuration ID in the body of the declaration to get details of all its versions. Optionally, add a version number to get a single version.
| Argument | Required | Description | 
|---|---|---|
| config_id | ✔ | Your security configuration's ID. | 
| version | Your security configuration's version number. | 
Attributes
Returned to you are the configuration version details.
| Attribute | Description | 
|---|---|
| config_id | The security configuration's ID. | 
| id | The data source's ID. | 
| version | The security configuration's version number. | 
| latest_version | The most recent version of the security configuration. | 
| staging_status | The configuration version's status on the staging network, either Active,Inactive, orDeactivated.Note: Returned only if the | 
| production_status | The configuration version's status on the production network, either Active,Inactive, orDeactivated.Note: Returned only if the | 
| output_text | The tabular report with the details of the configuration version's status. | 
Updated 5 months ago
