Skip to content

Commit

Permalink
DXE-3869 Merge pull request #570 from akamai/release/v6.3.0
Browse files Browse the repository at this point in the history
Release/v6.3.0
  • Loading branch information
mgwoj authored Jul 16, 2024
2 parents 86da2ee + c00c125 commit a075952
Show file tree
Hide file tree
Showing 174 changed files with 27,809 additions and 579 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.21"
go-version: "1.21.12"
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: v1.21.0
version: v1.21.12
args: release --rm-dist
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# testing and custom build code
.terraform/
.terraform/*
!pkg/providers/property/testdata/TestDSRulesTemplate/.terraform/*

.build/
terraform-provider-akamai
terraform.tfstate
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
before:
hooks:
# this is just an example and not a requirement for provider building/publishing
- go mod tidy -compat=1.21
- go mod tidy -compat=1.21.12
builds:
- env:
# goreleaser does not work with CGO, it could also complicate
Expand Down
65 changes: 64 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,68 @@
# RELEASE NOTES

## 6.3.0 (July 16, 2024)

#### FEATURES/ENHANCEMENTS:

* Migrated Go version to `1.21.12` for builds.
* Appsec
* Added field `host_names` to the `akamai_appsec_configuration` data source

* BOTMAN
* Added new resource:
* `akamai_botman_content_protection_javascript_injection_rule` - read and update
* `akamai_botman_content_protection_rule` - read and update
* `akamai_botman_content_protection_rule_sequence` - read and update
* Added new data source:
* `akamai_botman_content_protection_javascript_injection_rule` - read
* `akamai_botman_content_protection_rule` - read
* `akamai_botman_content_protection_rule_sequence` - read

* Client Lists
* Extended list of fields for which `akamai_clientlist_activation` diff is suppressed with `notification_recipients` and `siebel_ticket_id`. Diff suppressed when activation is not required.

* Cloud Access
* Added datasource:
* `akamai_cloudaccess_key` - read details for key by name
* `akamai_cloudaccess_keys` - read list of access key for current user account
* `akamai_cloudaccess_key_versions` - read details for key versions by key name
* `akamai_cloudaccess_key_properties` - read list of active properties for given access key
* Added resource:
* `akamai_cloudaccess_key` - create, read, update, delete, import

* DNS
* Added data source:
* `akamai_zone_dnssec_status` - reads the DNSSEC status of a single zone in Edge DNS ([I#509](https://github.com/akamai/terraform-provider-akamai/issues/509))

* GTM
* Added more details for `gtm_property` resource in case of error being returned from the API

* PAPI
* Added support for new rule format `v2024-05-31`
* Added new optional field `ttl` to `akamai_edge_hostname` resource.
When it is used, creation or update takes longer as resource has to synchronize its state with HAPI.

#### BUG FIXES:

* Appsec
* A new config version will be created if the latest config version is active in either Staging or Production, and protected and/or evaluated hostnames are updated using `akamai_appsec_wap_selected_hostnames` ([#I540](https://github.com/akamai/terraform-provider-akamai/issues/540))
* Fixed issue where terraform provider plugin crashes due to empty string input for list `geo_network_lists`, `ip_network_lists`, `exception_ip_network_lists` and `asn_network_lists` in `akamai_appsec_ip_geo` resource

* DNS
* Improved validation of IPv6 addresses in `akamai_dns_record` resource for records of type `AAAA` ([I#550](https://github.com/akamai/terraform-provider-akamai/issues/550))
* Fixed issue in `akamai_dns_record` resource that could cause incorrect targets planned to be modified or reordering targets send to server for `TXT` record type ([I#499](https://github.com/akamai/terraform-provider-akamai/issues/499), [I#541](https://github.com/akamai/terraform-provider-akamai/issues/541), [I#559](https://github.com/akamai/terraform-provider-akamai/issues/559))
* Fixed issue in `akamai_dns_recordset` datasource that for `TXT` record type, returned targets were needlessly reordered ([I#559](https://github.com/akamai/terraform-provider-akamai/issues/559))

* PAPI
* Removed caching from `akamai_contracts` data source
* Fixed issue in `akamai_edge_hostname` resource when update is performed straight after create
* Fixed issue in data_akamai_property_rules_template that having root template in the same directory as .terraform dir would cause error.
Now, datasource will not search for templates inside .terraform directory ([I#557](https://github.com/akamai/terraform-provider-akamai/issues/557))
* Fixed an issue that caused the `compliance_record` in imported `akamai_property_activation` and `akamai_property_include_activation` to be empty and could not be updated.
* Added the ability to update `compliance_record` in `akamai_property_activation` and `akamai_property_include_activation` via terraform apply (the update will not trigger new activation if version/network/property was not changed)
* Fixed issue that having `akamai_property` and `akamai_property_activation` (or `akamai_property_include` and `akamai_property_include_activation`) resources linked using `staging_version` or `production_version`
and modifying rules and note could sometimes result in `Provider produced inconsistent final plan` error ([I#549](https://github.com/akamai/terraform-provider-akamai/issues/549)).

## 6.2.0 (May 28, 2024)

#### FEATURES/ENHANCEMENTS:
Expand Down Expand Up @@ -207,7 +270,7 @@
* 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`
* `allow_pristine_on_downsize` and `prefer_modern_formats` available under `policy.output`

* PAPI
* Added new resource:
Expand Down
2 changes: 1 addition & 1 deletion build/internal/package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine3.18
FROM golang:1.21.12-alpine3.20

ENV PROVIDER_VERSION="1.0.0" \
CGO_ENABLED=0 \
Expand Down
2 changes: 1 addition & 1 deletion build/internal/package/nexus-release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ checkout_edgegrid() {

adjust_edgegrid() {
go mod edit -replace github.com/akamai/AkamaiOPEN-edgegrid-golang/v8="./akamaiopen-edgegrid-golang"
go mod tidy -compat=1.21
go mod tidy -compat=1.21.12
}

build() {
Expand Down
4 changes: 2 additions & 2 deletions build/internal/releaser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN apt update && apt install -y curl git gcc ca-certificates openssh-client gnu
&& curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - \
&& apt update && apt install -y terraform \
&& update-ca-certificates \
&& curl -o go1.21.0.linux-amd64.tar.gz https://dl.google.com/go/go1.21.0.linux-amd64.tar.gz \
&& rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gz \
&& curl -o go1.21.12.linux-amd64.tar.gz https://dl.google.com/go/go1.21.12.linux-amd64.tar.gz \
&& rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.12.linux-amd64.tar.gz \
&& go install github.com/goreleaser/[email protected] \
&& mkdir -p /root/.terraform.d/plugins/registry.terraform.io/akamai/akamai/10.0.0/linux_amd64 /root/.ssh

29 changes: 15 additions & 14 deletions docs/data-sources/data-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ We’ve moved our documentation to the Akamai TechDocs site. Use the table to fi

| Subprovider | Description |
|---------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|
| [Application Security](https://techdocs.akamai.com/terraform/v6.2/docs/appsec-datasources) | Manage security configurations, security policies, match targets, rate policies, and firewall rules. |
| [Bot Manager](https://techdocs.akamai.com/terraform/v6.2/docs/botman-datasources) | Identify, track, and respond to bot activity on your domain or in your app. |
| [Certificates](https://techdocs.akamai.com/terraform/v6.2/docs/cps-datasources) | Full life cycle management of SSL certificates for your ​Akamai​ CDN applications. |
| [Client Lists](https://techdocs.akamai.com/terraform/v6.2/docs/cli-data-sources) | Reduce harmful security attacks by allowing only trusted IP/CIDRs, locations, autonomous system numbers, and TLS fingerprints to access your services and content.|
| [Cloud Wrapper](https://techdocs.akamai.com/terraform/v6.2/docs/cw-data-sources) | Provide your customers with a more consistent user experience by adding a custom caching layer that improves the connection between your cloud infrastructure and the Akamai platform.|
| [Cloudlets](https://techdocs.akamai.com/terraform/v6.2/docs/cl-datasources) | Solve specific business challenges using value-added apps that complement ​Akamai​'s core solutions. |
| [DataStream](https://techdocs.akamai.com/terraform/v6.2/docs/ds-datasources) | Monitor activity on the ​Akamai​ platform and send live log data to a destination of your choice. |
| [Edge DNS](https://techdocs.akamai.com/terraform/v6.2/docs/edns-datasources) | Replace or augment your DNS infrastructure with a cloud-based authoritative DNS solution. |
| [EdgeWorkers](https://techdocs.akamai.com/terraform/v6.2/docs/ew-datasources) | Execute JavaScript functions at the edge to optimize site performance and customize web experiences. |
| [Global Traffic Management](https://techdocs.akamai.com/terraform/v6.2/docs/gtm-datasources) | Use load balancing to manage website and mobile performance demands. |
| [Identity and Access Management](https://techdocs.akamai.com/terraform/v6.2/docs/iam-datasources) | Create users and groups, and define policies that manage access to your Akamai applications. |
| [Image and Video Manager](https://techdocs.akamai.com/terraform/v6.2/docs/ivm-datasources) | Automate image and video delivery optimizations for your website visitors. |
| [Network Lists](https://techdocs.akamai.com/terraform/v6.2/docs/nl-datasources) | Automate the creation, deployment, and management of lists used in ​Akamai​ security products. |
| [Property](https://techdocs.akamai.com/terraform/v6.2/docs/pm-datasources) | Define rules and behaviors that govern your website delivery based on match criteria. |
| [Application Security](https://techdocs.akamai.com/terraform/v6.3/docs/appsec-datasources) | Manage security configurations, security policies, match targets, rate policies, and firewall rules. |
| [Bot Manager](https://techdocs.akamai.com/terraform/v6.3/docs/botman-datasources) | Identify, track, and respond to bot activity on your domain or in your app. |
| [Certificates](https://techdocs.akamai.com/terraform/v6.3/docs/cps-datasources) | Full life cycle management of SSL certificates for your ​Akamai​ CDN applications. |
| [Client Lists](https://techdocs.akamai.com/terraform/v6.3/docs/cli-data-sources) | Reduce harmful security attacks by allowing only trusted IP/CIDRs, locations, autonomous system numbers, and TLS fingerprints to access your services and content.|
|[Cloud Access Manager](https://techdocs.akamai.com/terraform/v6.3/docs/cam-ds) | Enable cloud origin authentication and securely store and manage your cloud origin credentials as access keys. |
| [Cloud Wrapper](https://techdocs.akamai.com/terraform/v6.3/docs/cw-data-sources) | Provide your customers with a more consistent user experience by adding a custom caching layer that improves the connection between your cloud infrastructure and the Akamai platform.|
| [Cloudlets](https://techdocs.akamai.com/terraform/v6.3/docs/cl-datasources) | Solve specific business challenges using value-added apps that complement ​Akamai​'s core solutions. |
| [DataStream](https://techdocs.akamai.com/terraform/v6.3/docs/ds-datasources) | Monitor activity on the ​Akamai​ platform and send live log data to a destination of your choice. |
| [Edge DNS](https://techdocs.akamai.com/terraform/v6.3/docs/edns-datasources) | Replace or augment your DNS infrastructure with a cloud-based authoritative DNS solution. |
| [EdgeWorkers](https://techdocs.akamai.com/terraform/v6.3/docs/ew-datasources) | Execute JavaScript functions at the edge to optimize site performance and customize web experiences. |
| [Global Traffic Management](https://techdocs.akamai.com/terraform/v6.3/docs/gtm-datasources) | Use load balancing to manage website and mobile performance demands. |
| [Identity and Access Management](https://techdocs.akamai.com/terraform/v6.3/docs/iam-datasources) | Create users and groups, and define policies that manage access to your Akamai applications. |
| [Image and Video Manager](https://techdocs.akamai.com/terraform/v6.3/docs/ivm-datasources) | Automate image and video delivery optimizations for your website visitors. |
| [Network Lists](https://techdocs.akamai.com/terraform/v6.3/docs/nl-datasources) | Automate the creation, deployment, and management of lists used in ​Akamai​ security products. |
| [Property](https://techdocs.akamai.com/terraform/v6.3/docs/pm-datasources) | Define rules and behaviors that govern your website delivery based on match criteria. |
Loading

0 comments on commit a075952

Please sign in to comment.