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.

ArgumentRequiredDescription
config_idYour security configuration's ID.
versionYour security configuration's version number.

Attributes

Returned to you are the configuration version details.

AttributeDescription
config_idThe security configuration's ID.
idThe data source's ID.
versionThe security configuration's version number.
latest_versionThe most recent version of the security configuration.
staging_statusThe configuration version's status on the staging network, either Active, Inactive, or Deactivated.

Note: Returned only if the version argument is included in the data block.
production_statusThe configuration version's status on the production network, either Active, Inactive, or Deactivated.

Note: Returned only if the version argument is included in the data block.
output_textThe tabular report with the details of the configuration version's status.

Did this page help you?