github akamai/terraform-provider-akamai v6.0.0

latest releases: v9.0.1, v9.0.0, v8.1.0...
18 months ago

RELEASE NOTES

6.0.0 (Mar 26, 2024)

BREAKING CHANGES:

  • General

    • Migrated to terraform protocol version 6, hence minimal required terraform version is 1.0
  • PAPI

    • Added validation to raise an error if the creation of the akamai_edge_hostname resource is attempted with an existing edge hostname.
    • Added validation to raise an error during the update of akamai_edge_hostname resource for the immutable fields: 'product_id' and 'certificate'.

FEATURES/ENHANCEMENTS:

  • Global

    • Requests limit value is configurable via field request_limit or environment variable AKAMAI_REQUEST_LIMIT
    • Added retryable logic for all GET requests to the API.
      This behavior can be disabled using retry_disabled field from akamai provider configuration or via environment variable AKAMAI_RETRY_DISABLED.
      It can be fine-tuned using following fields or environment variables:
      • retry_max or AKAMAI_RETRY_MAX - The maximum number retires of API requests, default is 10
      • retry_wait_min or AKAMAI_RETRY_WAIT_MIN - The minimum wait time in seconds between API requests retries, default is 1 sec
      • retry_wait_max or AKAMAI_RETRY_WAIT_MAX - The maximum wait time in minutes between API requests retries, default is 30 sec
    • Migrated to go 1.21
    • Bumped various dependencies
  • Appsec

    • Added resource:
      • akamai_appsec_penalty_box_conditions - read and update
      • akamai_appsec_eval_penalty_box_conditions - read and update
    • Added new data source:
      • akamai_appsec_penalty_box_conditions - read
      • akamai_appsec_eval_penalty_box_conditions - read
  • CPS

    • Added fields: org_id, assigned_slots, staging_slots and production_slots to data_akamai_cps_enrollment and data_akamai_cps_enrollments data sources
  • Edgeworkers

    • Improved error handling in akamai_edgeworkers_activation and resource_akamai_edgeworker resources
    • Improved error handling in akamai_edgeworker_activation datasource
  • GTM

    • Added fields:
      • precedence inside traffic_target in akamai_gtm_property resource and akamai_gtm_domain data source
      • sign_and_serve and sign_and_serve_algorithm in akamai_gtm_domain data source and resource
      • http_method, http_request_body, alternate_ca_certificates and pre_2023_security_posture inside liveness_test in akamai_gtm_property resource and akamai_gtm_domain data source
    • Added support for ranked-failover properties in akamai_gtm_property resource
    • Enhanced error handling in akamai_gtm_asmap, akamai_gtm_domain, akamai_gtm_geomap, akamai_gtm_property and akamai_gtm_resource resources
  • IMAGING

    • In the event of an API failure during a policy update, reverting to the previous state (I#491, I#493)
    • When performing the read operation, if activate_on_production is true, fetch the policy state from the production network; otherwise, obtain it from the staging environment.
  • PAPI

    • Added attributes to akamai_property datasource:
      • contract_id, group_id, latest_version, note, production_version, product_id, property_id, rule_format, staging_version
    • data_akamai_property_rules_builder is now supporting v2024-02-12 rule format

BUG FIXES:

  • Appsec

    • Fixed ukraine_geo_control_action drift issue (I#484)
  • Cloudlets

    • Allowed empty value for match rules json attribute for data sources:
      • akamai_cloudlets_api_prioritization_match_rule
      • akamai_cloudlets_application_load_balancer_match_rule
      • akamai_cloudlets_audience_segmentation_match_rule
      • akamai_cloudlets_edge_redirector_match_rule
      • akamai_cloudlets_forward_rewrite_match_rule
      • akamai_cloudlets_phased_release_match_rule
      • akamai_cloudlets_request_control_match_rule
      • akamai_cloudlets_visitor_prioritization_match_rule
  • CPS

    • Changed below fields from required to optional in akamai_cps_dv_enrollment and akamai_cps_third_party_enrollment
      for admin_contact and tech_contact attributes:
      • organization
      • address_line_one
      • city
      • region
      • postal_code
      • country_code
  • PAPI

    • Fixed case when origin_certs_to_honor field from origin behavior mandates presence of empty custom_certificate_authorities and/or custom_certificates options inside origin behavior for akamai_property_rules_builder datasource (I#515)

DEPRECATIONS

  • Appsec
    • akamai_appsec_selected_hostnames data source and resource are deprecated with a scheduled end-of-life in v7.0.0 of our provider. Use the akamai_appsec_configuration instead.

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

NewReleases is sending notifications on new releases.