github akamai/terraform-provider-akamai v12.1.0

48 minutes ago

RELEASE NOTES

12.1.0 (Dec 2, 2026)

FEATURES/ENHANCEMENTS:

  • General

    • Migrated Terraform to version 1.16.7.
    • Updated various dependencies.
  • Appsec

    • Added the akamai_appsec_behavioral_ddos_profile resource to manage Behavioral DDoS (BDE) protection profiles within a security configuration.
    • Added the akamai_appsec_behavioral_ddos_action resource to manage the action assigned to a BDE profile within a security policy.
    • Added the akamai_appsec_behavioral_ddos_profile data source to retrieve details about a specific BDE profile.
    • Added the akamai_appsec_behavioral_ddos_profiles data source to list all BDE profiles for a security configuration.
    • Added the akamai_appsec_behavioral_ddos_action data source to retrieve the action for a specific BDE profile within a security policy.
    • Added the akamai_appsec_behavioral_ddos_actions data source to list all BDE profile actions for a security policy.
  • Cloud Access

    • Added akamai_cloudaccess_key_version_associations data source that returns usage associations for a specific access key version, including both Property Manager properties and Delivery Manager environments.
    • Updated the delete flow for the akamai_cloudaccess_key resource to check associations across both Property Manager properties and Delivery Manager environments before allowing version deletion.
  • Cloud Certificates (Beta)

    • Surfaced additional backend validation warnings (e.g. an expired certificate on akamai_cloudcertificates_lineage refresh, a staging activation skipped during promotion, a partial MULTIPLE_STACK activation, or lineage fields updated from an uploaded certificate) as Terraform diagnostics in the akamai_cloudcertificates_lineage/akamai_cloudcertificates_activation/akamai_cloudcertificates_upload resources and the akamai_cloudcertificates_lineage data source.
  • DataStream

    • (Beta) Added the delivery_manager_support argument to the akamai_datastream resource and to the akamai_datastreams and akamai_datastream_dataset_fields data sources:
      • With delivery_manager_support = true, a CDN stream can monitor Delivery Manager environments through the new environments argument, alone or together with properties, and can use the newest data set fields.
      • The properties argument is no longer required when environments is set.
      • Added the websocket_dataset_fields argument, which selects the WebSocket data set fields separately from the general fields in dataset_fields. A field ID that general and WebSocket logs share can be listed in both. After import, include the WebSocket fields in the configuration to retain them on updates.
      • Added the dataset_field_type attribute, General or WebSocket, to the fields of the akamai_datastream_dataset_fields data source. It is set only with delivery_manager_support = true; without it, the attribute is always empty, so don't filter the fields by it.
      • A stream can monitor at most 1,000 properties and environments combined.
      • The akamai_datastreams data source lists the properties and environments of every stream, and akamai_datastream_dataset_fields lists the newest fields.
      • Adding or changing the argument on an existing stream doesn't modify the stream.
      • Only the CDN log type supports it, so the provider returns an error for other log types.
      • The streams are account-wide, so contract_id and group_id are not allowed with it.
      • To import a stream with the mode enabled, add ,with_delivery_manager_support to the import ID.
      • The provider detects a stream whose Delivery Manager environments were added outside Terraform: when a refresh, a plan, or a plain-ID import finds them, it reads the whole stream with the DataStream V4 API and records the environments and delivery_manager_support = true in the state. For a stream already in the state, it also warns that the stream requires Delivery Manager support, and the plan shows the drift. Streams without environments keep using the V3 API, without an extra request.
    • Added support for the EDGEWORKERS, EDNS and GTM log types in the akamai_datastream resource, in the akamai_datastreams and akamai_datastream_activation_history data sources, and, for EDNS and GTM, in the akamai_datastream_dataset_fields data source:
      • EDNS streams take the Edge DNS zone names in the new zones argument.
      • GTM streams take the GTM property names in the new gtm_properties argument.
      • EDGEWORKERS streams require contract_id and group_id, and don't accept dataset_fields, properties, or app_sec_configs.
      • The akamai_datastreams data source requires group_id for the EDGEWORKERS log type, because the API lists EDGEWORKERS streams only for a group.
    • Added the latency_profile argument to the akamai_datastream resource. It selects the latency profile of a CDN stream, FASTER_LATENCY or COMPLETENESS, with or without delivery_manager_support:
      • The API accepts it only from accounts in the latency profile program.
      • Only the CDN log type supports it; the other log types reject it while planning and are otherwise unchanged.
      • It's sent only on create, so changing it replaces the stream. Existing configurations and states need no change.
    • Changed the provider to drop a stream that was deleted outside Terraform from the state with a warning.
    • Added validation of delivery_configuration.format while planning: it must be JSON or STRUCTURED.
  • DNS

    • Added plan-level validation for DS records in the akamai_dns_record resource: keytag must be between 0 and 65535, and algorithm and digest_type must be between 0 and 255. Explicit zero values are now accepted.
    • Improved validation of DNSKEY records in the akamai_dns_record resource: algorithm now accepts values from 0 to 255; invalid flags produce a clearer error; protocol must be between 0 and 255; and a warning is displayed when a protocol other than 3 is configured.
  • EAA (Beta)

    • Added the following data sources:
      • akamai_eaa_app_categories to list the EAA application categories available on your contract.
      • akamai_eaa_applications to list the EAA applications available under a contract.
      • akamai_eaa_connectors to list the EAA connectors available under a contract.
      • akamai_eaa_idps to list identity providers with their associated directories and directory groups.
      • akamai_eaa_pops to list the EAA points of presence available to your account.
      • akamai_eaa_tls_cipher_suites to list the TLS cipher suites configured on an EAA application.
    • Added the following resources:
      • akamai_eaa_application to manage EAA applications.
      • akamai_eaa_ca_certificate to manage EAA CA certificates.
      • akamai_eaa_connector to manage EAA connectors.
      • akamai_eaa_custom_app_certificate to manage EAA custom app certificate.
  • Edgeworkers

    • Added akamai_edgeworkers_environments data source to list environments where an EdgeWorker is attached.
    • Added akamai_edgeworkers_environment_edgeworker_locations data source to list ruleset locations where an EdgeWorker is configured within a specific environment version.
  • Image and Video Manager

    • Added support for Delivery Usability - added the read-only environments attribute in the akamai_imaging_policy_set resource.
  • mTLS Keystore

    • Extended akamai_mtlskeystore_client_certificate_third_party resource to block deletion of a certificate version that is associated with Delivery Manager environments, in addition to the existing Property Manager association check.
    • Extended akamai_mtlskeystore_client_certificate_akamai resource delete operation to block deletion when a certificate version is associated with Delivery Manager environments or Property Manager properties.
    • Added computed associations_count and properties_count to the akamai_mtlskeystore_client_certificates data source, providing each client certificate's usage counts.
    • Added the optional include_associations argument to the akamai_mtlskeystore_client_certificate data source to return Property Manager properties and Delivery Manager environments for each certificate version through associations, including environment_display_name and workspace_display_name.

BUG FIXES:

  • Client Lists

    • Fixed persistent diffs and unnecessary version changes in akamai_clientlist_list when equivalent items.expiration_date timestamps used different formats, such as Z and +00:00.
    • Fixed a Provider produced inconsistent final plan error in akamai_clientlist_activation when comments, notification_recipients, or siebel_ticket_id changed and version was unknown during planning, but resolved to its existing value during apply (I#799).
    • Added a plan-time validation for akamai_clientlist_list.items.expiration_date. Non-empty values must be ISO 8601 timestamps with seconds, a time zone, and at most millisecond precision.
  • Cloud Certificates (Beta)

    • Fixed the akamai_cloudcertificates_lineage resource's plan-time name-conflict check incorrectly blocking a terraform plan/apply with a Lineage Name Conflict error whenever a RequiresReplace attribute (e.g. subject, key_specs, sans) changed alongside an explicit, unchanged lineage_name (I#807).
  • DataStream

    • Fixed the akamai_datastream resource rejecting TAB in delivery_configuration.field_delimiter with the StreamConfiguration.DeliveryConfiguration.Delimiter: must be a valid value error. The STRUCTURED format now accepts SPACE and TAB, with or without Delivery Manager support; other values and the JSON format behave as before (I#768).
    • Fixed the validation of the endpoint argument of trafficpeak_connector in the akamai_datastream resource. It rejected endpoints with other query parameters than table and token, or with the parameters in another order, such as https://<host>/ingest/event?table=<tablename>&transform=<transform>&token=<token>, which the API accepts. The endpoint still needs the table and token parameters.
  • DNS

    • Fixed an unexpected diff in the akamai_dns_record resource caused by invalid handling of DS digest field.
    • Fixed silent data corruption in the akamai_dns_record resource for HINFO (hardware, software) and RP (mailbox, txt) records when a field value contained whitespace. For HINFO, such values are now quoted, and for RP, whitespace is escaped with a backslash, when sent to the API.
  • Edgeworkers

    • Fixed activation and deactivation polling in the akamai_edgeworkers_activation resource to continue waiting for COMPLETE when the API returned DEPLOYED, instead of reporting an activation or deactivation failure (I#804).

DEPRECATIONS:

  • Cloud Access
    • Deprecated the akamai_cloudaccess_key_properties data source. Use akamai_cloudaccess_key_version_associations instead.

Don't miss a new terraform-provider-akamai release

NewReleases is sending notifications on new releases.