Skip to content

Releases: akamai/terraform-provider-akamai

v6.2.0

28 May 13:24
86da2ee
Compare
Choose a tag to compare

RELEASE NOTES

6.2.0 (May 28, 2024)

FEATURES/ENHANCEMENTS:

  • Global

    • Added validation for retryable logic values.
      • retry_max or AKAMAI_RETRY_MAX - Cannot be higher than 50
      • retry_wait_min or AKAMAI_RETRY_WAIT_MIN - Cannot be longer than 24h
      • retry_wait_max or AKAMAI_RETRY_WAIT_MAX - Cannot be longer than 24h
    • Migrated Terraform to version 1.7.5
    • Updated SDKv2 and framework libraries
  • Appsec

    • Suppressed rate policy diff when counterType field absence is the only change for akamai_appsec_rate_policy resource
    • Suppressed activations diff when notification_emails field is the only change for akamai_appsec_activations resource
  • BOTMAN

    • Added resource:
      • akamai_botman_custom_bot_category_item_sequence - read and update
  • Cloudlets

    • Added import for akamai_cloudlets_application_load_balancer_activation resource
  • GTM

    • Added data sources:
      • akamai_gtm_geomap - reads information for a specific GTM Geographic map
      • akamai_gtm_geomaps - reads information for GTM Geographic maps under a given domain
  • IAM

  • Fixed issue of generating an incorrect large difference in granted_roles update (I#525)

  • Network Lists

    • Suppressed activations diff when notification_emails field is the only change for akamai_networklist_activations resource
  • PAPI

    • Added retry logic for akamai_property_include_activation
    • Added import of the certificate for akamai_edge_hostname resource (I#338)
    • NOTE: Certificate modification is not allowed.

BUG FIXES:

  • Appsec

    • Resolved a drift issue with the akamai_appsec_advanced_settings_attack_payload_logging resource
    • Fixed an issue where resource akamai_appsec_activations continues in a loop after API throws an error. (#I528)
  • CPS

    • Fixed issue where modifications to SAN list in akamai_cps_third_party_enrollment of the akamai_cps_upload_certificate resource results in to inconsistency terraform plan error.
  • DNS

    • Fixed issue in akamai_dns_record that modifying priority and/or priority_increment for MX record type was causing an error
  • GTM

    • Fixed issue with order of liveness_test in akamai_gtm_property (PR#404)

DEPRECATIONS:

  • CPS
    • Deprecated field unacknowledged_warnings of akamai_cps_upload_certificate resource.

v6.1.0

23 Apr 06:57
8c0d28a
Compare
Choose a tag to compare

RELEASE NOTES

6.1.0 (Apr 23, 2024)

FEATURES/ENHANCEMENTS:

  • DNS

    • Added second mode to akamai_dns_record resource where it is possible to provide individual values for priority, weight and port to every SRV target.
      In such case it is not allowed to provide values for resource level fields priority, weight and port.
      It is not allowed to mix targets with and without those fields.
      (I#370)
  • Image and Video Manager

    • Added support for SmartCrop transformation in akamai_imaging_policy_image datasource

BUG FIXES:

  • CPS
    • Fixed issue with terraform producing inconsistent final plan for akamai_cps_upload_certificate resource on SAN list modification in akamai_cps_third_party_enrollment resource.

v6.0.0

26 Mar 10:27
7b3478a
Compare
Choose a tag to compare

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.

v5.6.0

19 Feb 15:28
98f09f3
Compare
Choose a tag to compare

RELEASE NOTES

5.6.0 (Feb 19, 2024)

FEATURES/ENHANCEMENTS:

  • Appsec

    • Added retries in akamai_appsec_activations and akamai_networklist_activations resources (I#471)
    • Added reactivation support for akamai_appsec_activations if the config was deactivated manually (I#441 and I#442)
  • Cloudlets

    • Added support for Shared Cloudlets Policies. To use it, provide is_shared field in akamai_cloudlets_policy resource as true. (I#276)
    • Added validation to prevent changing immutable cloudlet_code field in akamai_cloudlets_policy resource
    • Added support for importing policies without any version
    • Added new data source:
      • akamai_cloudlets_policy_activation - read
      • akamai_cloudlets_shared_policy - read
    • Changes for akamai_cloudlets_policy_activation resource
      • Added support for shared (V3) policies
      • Added import for akamai_cloudlets_policy_activation
      • Field associated_properties was changed to optional but is still required for non-shared policies
      • Added is_shared computed field to indicate if processing policy is shared
  • DNS

    • Enhanced handling of akamai_dns_zone resource when no group is provided:
      • When there is only one group present, the processing should continue with a descriptive warning
      • When there are more than one group present, the processing will fail with descriptive error asking to provide group in the configuration
  • Edgeworkers

    • Added note attribute to resource_akamai_edgeworkers_activation resource
  • GTM

    • Added data sources:
      • akamai_gtm_asmap - reads information for a specific GTM asmap
      • akamai_gtm_resources - reads information for a specific GTM resources under given domain
      • akamai_gtm_resource - reads information for a specific GTM resource
      • akamai_gtm_domain - reads information for a specific GTM domain
      • akamai_gtm_domains - reads list of GTM domains under a given contract
      • akamai_gtm_cidrmap - reads information for a specific GTM cidrmap
  • IVM

    • Extended akamai_imaging_policy_image with new fields:
      • serve_stale_duration available under policy
      • allow_pristine_on_downsize and prefer_modern_formats available under policy.output
  • PAPI

    • Added new resource:
      • akamai_property_bootstrap - create, read, update and delete property without specifying rules or edgehostnames. To be used with akamai_property resource and its new field property_id (I#466)
    • Added version_notes, rule_warnings and property_id attributes to akamai_property resource (I#494)
    • Added support for new rule format v2024-01-09 in data_akamai_property_rules_builder
    • Improved errors for akamai_contract and akamai_group datasources when there are multiple groups or contracts
    • Added name validation for akamai_property_include resource
  • Updated various dependencies

BUG FIXES:

  • Appsec

    • Fixed provider plugin crash in appsec_attack_group and appsec_eval_group after executing terraform plan (I#480)
    • Fixed drift for struct and list reordering in akamai_appsec_match_target
  • Cloudlets

    • Fixed handling of version drift for cloudlets policies (I#478)
  • CPS

    • Changed organizational_unit inside csr attribute for akamai_cps_third_party_enrollment and akamai_cps_dv_enrollment
      resources from required to optional. (PR#513)
    • Changed state inside csr attribute for akamai_cps_third_party_enrollment and akamai_cps_dv_enrollment resources from required to optional.
  • GTM

    • Fixed 'Inconsistent Final Plan' error for akamai_gtm_property resource
    • The diff when reordering traffic_target in akamai_gtm_property resource at the same time as changing any attribute value inside traffic_target will be extensive (I#496)
    • Added ForceNew to the name attribute for akamai_gtm_property resource as it is not possible to rename it using API (I#520)

v5.5.0

07 Dec 15:22
6c1ab8e
Compare
Choose a tag to compare

RELEASE NOTES

5.5.0 (Dec 07, 2023)

FEATURES/ENHANCEMENTS:

  • APSSEC

    • Updated resource:
      • akamai_appsec_ip_geo - added asn_network_lists attribute to support blocking by ASN client lists
    • Updated data source:
      • akamai_appsec_ip_geo - added asn_network_lists attribute to list ASN client lists
  • BOTMAN

    • Added resource:
      • akamai_botman_custom_code - read and update
    • Added data source:
      • akamai_botman_custom_code - read
    • Cached api calls for akamai_botman_akamai_bot_category, akamai_botman_akamai_defined_bot and akamai_botman_bot_detection data sources to improve performance.
  • Cloudlets

    • Added origin_description field to akamai_cloudlets_application_load_balancer resource
  • PAPI

    • Behavior restrict_object_caching is public (I#314 and #277)
    • Added version support for akamai_property_hostnames data source (I#413)
    • data_akamai_property_rules_builder is now supporting v2023-10-30 rule format
    • Improved error handling and added retries in akamai_property_activation resource
    • Relaxed validation used for includes used in akamai_property_rules_template. Files cannot be empty but do not necessary have to be valid json files.

BUG FIXES:

  • DNS

    • Fixed handling of txt records which are longer than 255 bytes (I#430)
  • Image and Video Manager

    • Added suppression when providing ctr_ prefix in akamai_imaging_policy_set (I#491)

v5.4.0

31 Oct 13:18
62f92a3
Compare
Choose a tag to compare

RELEASE NOTES

5.4.0 (Oct 31, 2023)

FEATURES/ENHANCEMENTS:

  • Appsec

    • Suppressed trigger of new activation for note field change in akamai_networklist_activations and akamai_appsec_activations resources.
  • Client Lists

    • Added support for state import for akamai_clientlist_list and akamai_clientlist_activation resources
  • Cloudlets

    • Added matches_alway field to akamai_cloudlets_edge_redirector_match_rule data source
    • Added configurable timeout for following resources as timeouts.default field
      • akamai_cloudlets_application_load_balancer_activation
      • akamai_cloudlets_policy_activation
      • akamai_cloudlets_policy
  • CPS

    • Added configurable timeout for following resources as timeouts.default field (I#440)
      • akamai_cps_dv_enrollment
      • akamai_cps_dv_validation
      • akamai_cps_third_party_enrollment
      • akamai_cps_upload_certificate
  • Edgeworkers

    • Added configurable timeout for following resources as timeouts.default field
      • akamai_edgekv_group_items
      • akamai_edgeworker
    • Added configurable timeout for akamai_edgeworkers_activation resource as timeouts.default and timeouts.delete fields
  • IAM

    • Phone number is no longer required for IAM user in akamai_iam_user resource.
  • PAPI

    • Added configurable timeout for following resources as timeouts.default field (I#440)
      • akamai_property_activation
      • akamai_property_include_activation
      • akamai_edge_hostname
    • Added configurable timeout for akamai_cp_code resource as timeouts.update field
    • Changed version field in akamai_property_activation data source to optional. Now when version is not provided,
      datasource automatically finds the active one for given network.
    • Allowed empty values for some fields
      in akamai_property_builder (I#481)
    • Added support for new rule format v2023-09-20

BUG FIXES:

  • GTM

    • Fixed problem with wrong datacenters updated in akamai_gtm_property.
  • IAM

    • Fixed Terraform proposing modifications to user settings when using international phone numbers in akamai_iam_user
      resource.
      • NOTE:
        • For international phone numbers there might be a diff during plan. Please apply suggested change to store the
          correct number.
        • Invalid phone numbers will block the plan.
  • PAPI

    • Made status_update_email attribute optional in akamai_edge_hostname resource

v5.3.0

26 Sep 13:28
2b1193a
Compare
Choose a tag to compare

RELEASE NOTES

5.3.0 (Sep 26, 2023)

FEATURES/ENHANCEMENTS:

  • Appsec

    • Added sync_point value in akamai_networklist_network_lists data source
  • CPS

    • Added pending_changes computed field to akamai_cps_enrollment data source (#PR468)
  • Cloud Wrapper

    • Added support for comments argument modification in akamai_cloudwrapper_configuration resource

BUG FIXES:

  • Appsec

    • Fixed akamai_networklist_network_list import resulting in null contract_id and group_id
  • PAPI

    • Added errors to data_property_akamai_contract and data_property_akamai_group data sources, when fetching groups returns multiple inconclusive results
    • Fixed drift issue in akamai_edge_hostname resource (#457)
    • Added missing fields to akamai_property_builder for origin and siteShield behaviors (#465)
    • Improved akamai_property_rules_builder empty list transformation (#438)
  • GTM

    • Added better drift handling in akamai_gtm_property - when property is removed without terraform knowledge, resource doesn't just error on refresh but suggests recreation

v5.2.0

29 Aug 14:27
999a0f3
Compare
Choose a tag to compare

RELEASE NOTES

5.2.0 (Aug 29, 2023)

FEATURES/ENHANCEMENTS:

  • [IMPORTANT] Cloud Wrapper

    • Added resources:
      • akamai_cloudwrapper_activation - activate cloud wrapper configuration, import cloud wrapper configuration activation
      • akamai_cloudwrapper_configuration - create, read and update cloud wrapper configuration
    • Added data sources:
      • akamai_cloudwrapper_capacities - reads capacities available for the provided contract IDs
      • akamai_cloudwrapper_configuration - reads configuration associated with config ID
      • akamai_cloudwrapper_configurations - reads all the configurations
      • akamai_cloudwrapper_location - reads location for given location name and traffic type
      • akamai_cloudwrapper_locations - reads all locations
      • akamai_cloudwrapper_properties - reads properties associated with contract IDs with Cloud Wrapper entitlement
  • [IMPORTANT] Client Lists (#424)

    • Added resources:
      • akamai_clientlist_list - create, update and delete Client Lists
      • akamai_clientlist_activation - activate a client list
    • Added data source:
      • akamai_clientlist_lists - reads Client Lists
        • Support filter by name and/or types
  • BOTMAN

    • Added resource:
      • akamai_botman_custom_client_sequence - read and update custom client sequence
    • Added data source:
      • akamai_botman_custom_client_sequence - reads custom client sequence
  • PAPI

    • logStreamName field from datastream behavior has changed from string to array of strings for rule format v2023-05-30

v5.1.0

01 Aug 09:37
e646305
Compare
Choose a tag to compare

RELEASE NOTES

5.1.0 (Aug 01, 2023)

BUG FIXES:

  • PAPI
    • Dropped too strict early snippet validation (#436)
    • Fixed issue that akamai_property or akamai_property_include would sometimes show strange null -> null diff in rules (or dropping null in newer Terraform versions) even if no update actually is needed. If there is anything else changing in the rule tree, the null -> null will be also visible in the diff. That may be fixed in later time.
    • Fixed issue that akamai_property_rules_builder data source did not support PM variables for fields with validation based on regular expressions

FEATURES/ENHANCEMENTS:

  • Appsec

    • Added resource:
      • akamai_appsec_security_policy_default_protections
  • BOTMAN

    • Added resource:
      • akamai_botman_challenge_injection_rules - read and update
    • Added data sources:
      • akamai_botman_challenge_injection_rules - read
  • PAPI

    • Added verification to ensure that akamai_property_rules_builder data source
      has consistent frozen rule format between parent and it's child.
      Additionally akamai_property_rules_builder.json is returning artificial field _ruleFormat_.
    • Suppressed trigger of new activation for note field change in akamai_property_activation and akamai_property_include_activation resources.

DEPRECATIONS

  • Appsec

    • deprecated following resources; use akamai_appsec_security_policy_default_protections resource instead:
      • akamai_appsec_api_constraint_protection
      • akamai_appsec_ip_geo_protection
      • akamai_appsec_malware_protection
      • akamai_appsec_rate_protection
      • akamai_appsec_reputation_protection
      • akamai_appsec_slowpost_protection
  • BOTMAN

    • deprecated akamai_botman_challenge_interception_rules data source and resource; use akamai_botman_challenge_injection_rules instead.

v5.0.1

12 Jul 09:34
46f1026
Compare
Choose a tag to compare

RELEASE NOTES

5.0.1 (Jul 12, 2023)

BUG FIXES:

  • Reinstated support for configuring provider with environmental variables (#407, #444)
  • Fixed signature does not match error when using config block for authentication (#444, #446)