Skip to content

Commit

Permalink
DXE-4353 Changelog update and bump tfp version in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
mimazaka committed Nov 19, 2024
1 parent 852aaf2 commit 69ac1a7
Show file tree
Hide file tree
Showing 56 changed files with 68 additions and 143 deletions.
99 changes: 12 additions & 87 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,62 +1,31 @@
# RELEASE NOTES

## X.XX.X (Month XX, XXXX)
## 1.19.0 (Nov 21, 2024)

### FEATURES/ENHANCEMENTS:

* PAPI
* Added the `product_id` attribute to the exported `akamai_property_include` resource.

* General
* Added retryable logic for all GET requests to the API.
This behavior can be disabled using the `AKAMAI_RETRY_DISABLED` environment variable.
It can be fine-tuned using these environment variables:
* `AKAMAI_RETRY_MAX` - The maximum retires number of API requests, default is 10.
* `AKAMAI_RETRY_WAIT_MIN` - The minimum wait time in seconds between API requests retries, default is 1 sec.
* `AKAMAI_RETRY_WAIT_MAX` - The maximum wait time in seconds between API requests retries, default is 30 sec.

* AppSec
* Added support to export the `akamai_botman_content_protection_rule` resource for the specified policy.
* Added support to export the `akamai_botman_content_protection_rule_sequence` resource for the specified policy.
* Added support to export the `akamai_botman_content_protection_javascript_injection_rule` resource for the specified policy.


* Cloud Access Manager
* Added the `group_id` and `contract_id` flags for `export-cloudaccess` which allows exporting the `akamai_cloudaccess_key` resource with the specified group and contract IDs.


* General
* Added retryable logic for all GET requests to the API.
This behavior can be disabled using the `AKAMAI_RETRY_DISABLED` environment variable.
It can be fine-tuned using these environment variables:
* `AKAMAI_RETRY_MAX` - The maximum retires number of API requests, default is 10.
* `AKAMAI_RETRY_WAIT_MIN` - The minimum wait time in seconds between API requests retries, default is 1 sec.
* `AKAMAI_RETRY_WAIT_MAX` - The maximum wait time in seconds between API requests retries, default is 30 sec.









* DNS
* Added new field `outbound_zone_transfer` to `akamai_dns_zone` resource.







* Added the new `outbound_zone_transfer` field to the `akamai_dns_zone` resource.

* PAPI
* Added support for new rule format `v2024-10-21`.











* Added support for the new rule format `v2024-10-21`.
* Added the `product_id` attribute to the exported `akamai_property_include` resource.

### BUG FIXES:

Expand All @@ -70,56 +39,12 @@
* Cloud Access Manager
* Marked the `cloud_secret_access_key` field as sensitive in a template for the `akamai_cloudaccess_key` resource and moved its definition to the `variables.tf` file. ([I#580](https://github.com/akamai/terraform-provider-akamai/issues/580))












* PAPI
* Fixed missing child file when using uppercase letters for a second rule with lowercase letters ([#78](https://github.com/akamai/cli-terraform/issues/78)).













* Fixed a missing child file when using uppercase letters for a second rule with lowercase letters ([#78](https://github.com/akamai/cli-terraform/issues/78)).

### DEPRECATIONS:

* Excluded the deprecated `akamai_appsec_wap_selected_hostnames` resource from the `export-appsec` command. Instead, use the `akamai_appsec_aap_selected_hostnames` resource to export.





















## 1.18.0 (Oct 10, 2024)

Expand Down
2 changes: 1 addition & 1 deletion cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"commands": [
{
"name": "terraform",
"version": "1.18.0",
"version": "1.19.0",
"description": "Export selected resources for faster adoption in Terraform",
"bin": "https://github.com/akamai/cli-terraform/releases/download/v{{.Version}}/akamai-{{.Name}}-{{.Version}}-{{.OS}}{{.Arch}}{{.BinSuffix}}",
"auto-complete": true,
Expand Down
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

var (
// Version holds current version of cli-terraform
Version = "1.18.0"
Version = "1.19.0"
)

// Run initializes the cli and runs it
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/akamai/cli-terraform
go 1.21

require (
github.com/akamai/AkamaiOPEN-edgegrid-golang/v9 v9.0.0
github.com/akamai/AkamaiOPEN-edgegrid-golang/v9 v9.1.0
github.com/akamai/cli v1.6.0
github.com/fatih/color v1.16.0
github.com/hashicorp/hcl/v2 v2.21.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDO
github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8=
github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
github.com/akamai/AkamaiOPEN-edgegrid-golang/v9 v9.0.0 h1:TGI1yfVRiKC9qWT35YJeA1Rtiofx9CtTfATZE3lopyQ=
github.com/akamai/AkamaiOPEN-edgegrid-golang/v9 v9.0.0/go.mod h1:1tYxzSXTnUxMbzafz3QhRSj1rc9Ag6iF8rju1AyqMuo=
github.com/akamai/AkamaiOPEN-edgegrid-golang/v9 v9.1.0 h1:yAEIghWw7ROChpZwYr8sdvXk+W/XUqRRQzKIjURiABE=
github.com/akamai/AkamaiOPEN-edgegrid-golang/v9 v9.1.0/go.mod h1:6Qe7R8LY0acZtI+MEzBA/Y/u2Vds8MfK60rAP5LPa38=
github.com/akamai/cli v1.6.0 h1:mEvcJdOZPZ4lg9NCsSW1DxBnMn1pcpVyeSs3nmn/E48=
github.com/akamai/cli v1.6.0/go.mod h1:YQH1Ndo/jH9JgQ9ejPNVlR9DGhdWK5Dhtv3Cl9Yh5WY=
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 h1:MzBOUgng9orim59UnfUTLRjMpd09C5uEVQ6RPGeCaVI=
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/cloudaccess/templates/cloudaccess.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.3.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.3.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.3.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.3.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.3.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/dns/templates/definitions.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/dns/testdata/recordset/dummy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
2 changes: 1 addition & 1 deletion pkg/providers/dns/testdata/recordset_mod/dummy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
2 changes: 1 addition & 1 deletion pkg/providers/dns/testdata/zone/dummy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
2 changes: 1 addition & 1 deletion pkg/providers/dns/testdata/zone/expected_zone.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/dns/testdata/zone/expected_zone_multiline.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/dns/testdata/zone_mod/dummy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
2 changes: 1 addition & 1 deletion pkg/providers/dns/testdata/zone_mod/expected_zone_mod.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/dns/testdata/zone_mod/mod/dummy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 1.6.1"
version = ">= 6.6.0"
}
}
}
2 changes: 1 addition & 1 deletion pkg/providers/papi/templates/includes.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 5.6.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/papi/templates/property.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
2 changes: 1 addition & 1 deletion pkg/providers/papi/testdata/basic-bootstrap/property.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
akamai = {
source = "akamai/akamai"
version = ">= 6.4.0"
version = ">= 6.6.0"
}
}
required_version = ">= 1.0"
Expand Down
Loading

0 comments on commit 69ac1a7

Please sign in to comment.