diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b22cf9..1426c17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,80 +1,34 @@ # Release Notes -## Version x.x.x (XXX xx, xxxx) +## Version 1.13.0 (March 26, 2024) ### Features/Enhancements -* Cloudlets - * Changed export for `akamai_cloudlets_audience_segmentation_match_rule` to generate empty `forward_settings` when `origin_id` and `path_and_qs` both are empty and `use_incoming_query_string` is false - +* General + * Updated minimal required terraform version to 1.0 + * Migrate to go 1.21 * Appsec - * Added support to export `akamai_appsec_penalty_box_conditions` for the specified policy. - * Added support to export `akamai_appsec_eval_penalty_box_conditions` for the specified policy. - - -* Updated minimal required terraform version to 1.0 - - - -* Migrate to go 1.21 - - - - -* PAPI - * `export-property` command with flag `--rules-as-hcl` now supports export of properties in frozen format `v2024-02-12` - * `export-property-include` command with flag `--rules-as-hcl` now supports export of includes in frozen format `v2024-02-12` - - - - + * Added support to export `akamai_appsec_penalty_box_conditions` for the specified policy + * Added support to export `akamai_appsec_eval_penalty_box_conditions` for the specified policy +* Cloudlets + * Changed export for `akamai_cloudlets_audience_segmentation_match_rule` to generate empty `forward_settings` when `origin_id` and `path_and_qs` both are empty and `use_incoming_query_string` is false * GTM * Added support for exporting fields: * `sign_and_serve`, `sign_and_serve_algorithm` for `akamai_gtm_domain` resource * `http_method`, `http_request_body`, `pre_2023_security_posture`, `alternate_ca_certificate` inside `liveness_test` in `akamai_gtm_property` resource - - - - - - - - - - +* PAPI + * `export-property` command with flag `--rules-as-hcl` now supports export of properties in frozen format `v2024-02-12` + * `export-property-include` command with flag `--rules-as-hcl` now supports export of includes in frozen format `v2024-02-12` ### Bug fixes - * PAPI * Fixed issue that empty `custom_certificate_authorities` or `custom_certificates` where not generated during `export-property` with `rules-as-hcl` flag - - - - - - - - - - - - - - - - - - - - - - ### Deprecations * APPSEC - * Exclude the deprecated `akamai_appsec_selected_hostnames` resource from the `export-appsec` command. Use exported `akamai_appsec_configuration` instead. + * Exclude the deprecated `akamai_appsec_selected_hostnames` resource from the `export-appsec` command. Use exported `akamai_appsec_configuration` instead ## Version 1.12.0 (February 19, 2024) diff --git a/build/docker_jenkins.bash b/build/docker_jenkins.bash index 0caa833..85f18e0 100755 --- a/build/docker_jenkins.bash +++ b/build/docker_jenkins.bash @@ -91,7 +91,7 @@ docker exec akatf-container sh -c 'cd edgegrid; git checkout ${EDGEGRID_BRANCH_N cd ../cli; git checkout ${CLI_BRANCH_NAME}; go mod tidy; cd ../cli-terraform; git checkout ${CLI_TERRAFORM_BRANCH_NAME}; - go mod edit -replace github.com/akamai/AkamaiOPEN-edgegrid-golang/v7=../edgegrid; + go mod edit -replace github.com/akamai/AkamaiOPEN-edgegrid-golang/v8=../edgegrid; go mod edit -replace github.com/akamai/cli=../cli; go mod tidy' diff --git a/cli.json b/cli.json index aa84a78..26e5ebc 100644 --- a/cli.json +++ b/cli.json @@ -5,7 +5,7 @@ "commands": [ { "name": "terraform", - "version": "1.12.0", + "version": "1.13.0", "description": "Administer and Manage Akamai Terraform configurations", "bin": "https://github.com/akamai/cli-terraform/releases/download/v{{.Version}}/akamai-{{.Name}}-{{.Version}}-{{.OS}}{{.Arch}}{{.BinSuffix}}", "auto-complete": true, diff --git a/cli/cli.go b/cli/cli.go index d154323..025a0d5 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -21,7 +21,7 @@ import ( "os" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/akamai/cli-terraform/pkg/commands" "github.com/akamai/cli-terraform/pkg/edgegrid" akacli "github.com/akamai/cli/pkg/app" @@ -33,7 +33,7 @@ import ( var ( // Version holds current version of cli-terraform - Version = "1.12.0" + Version = "1.13.0" ) // Run initializes the cli and runs it diff --git a/cli/cli_test.go b/cli/cli_test.go index 6cb650c..f4a6414 100644 --- a/cli/cli_test.go +++ b/cli/cli_test.go @@ -7,7 +7,7 @@ import ( "io" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/akamai/cli/pkg/log" "github.com/stretchr/testify/assert" "github.com/urfave/cli/v2" diff --git a/go.mod b/go.mod index 75ff817..93939d7 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/akamai/cli-terraform go 1.21 require ( - github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 v7.6.0 + github.com/akamai/AkamaiOPEN-edgegrid-golang/v8 v8.0.0 github.com/akamai/cli v1.5.6 github.com/fatih/color v1.13.0 github.com/hashicorp/hcl/v2 v2.11.1 @@ -55,5 +55,5 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect ) -//replace github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 => ../akamaiopen-edgegrid-golang +//replace github.com/akamai/AkamaiOPEN-edgegrid-golang/v8 => ../akamaiopen-edgegrid-golang //replace github.com/akamai/cli => ../cli diff --git a/go.sum b/go.sum index 2cc6554..52fcd33 100644 --- a/go.sum +++ b/go.sum @@ -9,8 +9,9 @@ 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.1 h1:QmvMAjj2aEICytGiWzmxoE0x2KZvE0fvmqMOfy2tjT8= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= -github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 v7.6.0 h1:Y6DiIpp6fWR01YaK65PqTV8wiatLOaN8rBPzqfmjb7Y= -github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 v7.6.0/go.mod h1:gajRk0oNRQj4bHUc2SGAvAp/gPestSpuvK4QXU1QtPA= +github.com/akamai/AkamaiOPEN-edgegrid-golang/v8 v7.6.0 h1:Y6DiIpp6fWR01YaK65PqTV8wiatLOaN8rBPzqfmjb7Y= +github.com/akamai/AkamaiOPEN-edgegrid-golang/v8 v7.6.0/go.mod h1:gajRk0oNRQj4bHUc2SGAvAp/gPestSpuvK4QXU1QtPA= +github.com/akamai/AkamaiOPEN-edgegrid-golang/v8 v8.0.0/go.mod h1:ytNNwwgBIEeWJJCWy57vbkkEaYiCxWrYU68B/F0Gi5g= github.com/akamai/cli v1.5.6 h1:L/QsSqligFRhMD+tKJoX9cwqbHnmojfqXw64HUfp6gk= github.com/akamai/cli v1.5.6/go.mod h1:PwHrS8f2vh1Kns2Hl1rtfMCq90ZfYLXI81zRGDTkMRs= github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 h1:MzBOUgng9orim59UnfUTLRjMpd09C5uEVQ6RPGeCaVI= diff --git a/pkg/edgegrid/config.go b/pkg/edgegrid/config.go index f1d4f42..504e43c 100644 --- a/pkg/edgegrid/config.go +++ b/pkg/edgegrid/config.go @@ -2,7 +2,7 @@ package edgegrid import ( - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" "github.com/urfave/cli/v2" ) diff --git a/pkg/edgegrid/config_test.go b/pkg/edgegrid/config_test.go index b623456..919715f 100644 --- a/pkg/edgegrid/config_test.go +++ b/pkg/edgegrid/config_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgegrid" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgegrid" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/urfave/cli/v2" diff --git a/pkg/edgegrid/session.go b/pkg/edgegrid/session.go index decaf69..f308ede 100644 --- a/pkg/edgegrid/session.go +++ b/pkg/edgegrid/session.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/urfave/cli/v2" ) diff --git a/pkg/edgegrid/session_test.go b/pkg/edgegrid/session_test.go index 87a5d77..e641fc4 100644 --- a/pkg/edgegrid/session_test.go +++ b/pkg/edgegrid/session_test.go @@ -5,7 +5,7 @@ import ( "flag" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/session" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/session" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/urfave/cli/v2" diff --git a/pkg/providers/appsec/create_appsec.go b/pkg/providers/appsec/create_appsec.go index b681e23..b51814a 100644 --- a/pkg/providers/appsec/create_appsec.go +++ b/pkg/providers/appsec/create_appsec.go @@ -12,8 +12,8 @@ import ( "reflect" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/appsec" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/botman" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/appsec" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/botman" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/appsec/create_appsec_test.go b/pkg/providers/appsec/create_appsec_test.go index ee7b52e..378e5b4 100644 --- a/pkg/providers/appsec/create_appsec_test.go +++ b/pkg/providers/appsec/create_appsec_test.go @@ -11,8 +11,8 @@ import ( "path/filepath" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/appsec" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/botman" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/appsec" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/botman" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/appsec/templates/modules-activate-security-versions.tmpl b/pkg/providers/appsec/templates/modules-activate-security-versions.tmpl index 7b5190d..2cb4433 100644 --- a/pkg/providers/appsec/templates/modules-activate-security-versions.tmpl +++ b/pkg/providers/appsec/templates/modules-activate-security-versions.tmpl @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/templates/modules-security-versions.tmpl b/pkg/providers/appsec/templates/modules-security-versions.tmpl index 7b5190d..2cb4433 100644 --- a/pkg/providers/appsec/templates/modules-security-versions.tmpl +++ b/pkg/providers/appsec/templates/modules-security-versions.tmpl @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/templates/versions.tmpl b/pkg/providers/appsec/templates/versions.tmpl index 7b5190d..2cb4433 100644 --- a/pkg/providers/appsec/templates/versions.tmpl +++ b/pkg/providers/appsec/templates/versions.tmpl @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/ase-botman/appsec-versions.tf b/pkg/providers/appsec/testdata/ase-botman/appsec-versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/ase-botman/appsec-versions.tf +++ b/pkg/providers/appsec/testdata/ase-botman/appsec-versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/ase-botman/modules/activate-security/versions.tf b/pkg/providers/appsec/testdata/ase-botman/modules/activate-security/versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/ase-botman/modules/activate-security/versions.tf +++ b/pkg/providers/appsec/testdata/ase-botman/modules/activate-security/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/ase-botman/modules/security/versions.tf b/pkg/providers/appsec/testdata/ase-botman/modules/security/versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/ase-botman/modules/security/versions.tf +++ b/pkg/providers/appsec/testdata/ase-botman/modules/security/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/ase/appsec-versions.tf b/pkg/providers/appsec/testdata/ase/appsec-versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/ase/appsec-versions.tf +++ b/pkg/providers/appsec/testdata/ase/appsec-versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/ase/modules/activate-security/versions.tf b/pkg/providers/appsec/testdata/ase/modules/activate-security/versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/ase/modules/activate-security/versions.tf +++ b/pkg/providers/appsec/testdata/ase/modules/activate-security/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/ase/modules/security/versions.tf b/pkg/providers/appsec/testdata/ase/modules/security/versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/ase/modules/security/versions.tf +++ b/pkg/providers/appsec/testdata/ase/modules/security/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/tcwest/appsec-versions.tf b/pkg/providers/appsec/testdata/tcwest/appsec-versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/tcwest/appsec-versions.tf +++ b/pkg/providers/appsec/testdata/tcwest/appsec-versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/tcwest/modules/activate-security/versions.tf b/pkg/providers/appsec/testdata/tcwest/modules/activate-security/versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/tcwest/modules/activate-security/versions.tf +++ b/pkg/providers/appsec/testdata/tcwest/modules/activate-security/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/appsec/testdata/tcwest/modules/security/versions.tf b/pkg/providers/appsec/testdata/tcwest/modules/security/versions.tf index 4323036..b0c7edc 100644 --- a/pkg/providers/appsec/testdata/tcwest/modules/security/versions.tf +++ b/pkg/providers/appsec/testdata/tcwest/modules/security/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 3.5.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/clientlists/create_clientlist.go b/pkg/providers/clientlists/create_clientlist.go index 1cbf35a..988f395 100644 --- a/pkg/providers/clientlists/create_clientlist.go +++ b/pkg/providers/clientlists/create_clientlist.go @@ -10,7 +10,7 @@ import ( "os" "path/filepath" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/clientlists" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/clientlists" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/clientlists/create_clientlist_test.go b/pkg/providers/clientlists/create_clientlist_test.go index 67dba2f..3a1dab8 100644 --- a/pkg/providers/clientlists/create_clientlist_test.go +++ b/pkg/providers/clientlists/create_clientlist_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/clientlists" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/clientlists" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli/pkg/terminal" "github.com/stretchr/testify/mock" diff --git a/pkg/providers/cloudlets/create_policy.go b/pkg/providers/cloudlets/create_policy.go index f54f2f9..513b4e7 100644 --- a/pkg/providers/cloudlets/create_policy.go +++ b/pkg/providers/cloudlets/create_policy.go @@ -11,8 +11,8 @@ import ( "sort" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/cloudlets" - v3 "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/cloudlets/v3" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/cloudlets" + v3 "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/cloudlets/v3" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/cloudlets/create_policy_test.go b/pkg/providers/cloudlets/create_policy_test.go index 852e850..52672c0 100644 --- a/pkg/providers/cloudlets/create_policy_test.go +++ b/pkg/providers/cloudlets/create_policy_test.go @@ -11,8 +11,8 @@ import ( "testing" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/cloudlets" - v3 "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/cloudlets/v3" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/cloudlets" + v3 "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/cloudlets/v3" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/cloudwrapper/create_configuration.go b/pkg/providers/cloudwrapper/create_configuration.go index 90d3f03..5f17216 100644 --- a/pkg/providers/cloudwrapper/create_configuration.go +++ b/pkg/providers/cloudwrapper/create_configuration.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/cloudwrapper" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/cloudwrapper" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/cloudwrapper/create_configuration_test.go b/pkg/providers/cloudwrapper/create_configuration_test.go index a105b2e..8ceba24 100644 --- a/pkg/providers/cloudwrapper/create_configuration_test.go +++ b/pkg/providers/cloudwrapper/create_configuration_test.go @@ -9,7 +9,7 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/cloudwrapper" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/cloudwrapper" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/cps/create_cps.go b/pkg/providers/cps/create_cps.go index d39e12a..d97c7a8 100644 --- a/pkg/providers/cps/create_cps.go +++ b/pkg/providers/cps/create_cps.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/cps" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/cps" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/cps/create_cps_test.go b/pkg/providers/cps/create_cps_test.go index f847c31..95e56cf 100644 --- a/pkg/providers/cps/create_cps_test.go +++ b/pkg/providers/cps/create_cps_test.go @@ -10,8 +10,8 @@ import ( "testing" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/cps" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/cps" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli/pkg/terminal" "github.com/jinzhu/copier" diff --git a/pkg/providers/dns/command_create_zone.go b/pkg/providers/dns/command_create_zone.go index ca49261..105061e 100644 --- a/pkg/providers/dns/command_create_zone.go +++ b/pkg/providers/dns/command_create_zone.go @@ -26,7 +26,7 @@ import ( "path/filepath" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/dns" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/dns" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/dns/template_processing.go b/pkg/providers/dns/template_processing.go index 1a0d7b5..d417a18 100644 --- a/pkg/providers/dns/template_processing.go +++ b/pkg/providers/dns/template_processing.go @@ -6,7 +6,7 @@ import ( "strings" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/dns" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/dns" "github.com/akamai/cli-terraform/pkg/tools" ) diff --git a/pkg/providers/dns/tf_recordsets.go b/pkg/providers/dns/tf_recordsets.go index 18ef10c..42ca4f8 100644 --- a/pkg/providers/dns/tf_recordsets.go +++ b/pkg/providers/dns/tf_recordsets.go @@ -20,7 +20,7 @@ import ( "regexp" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/dns" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/dns" "github.com/akamai/cli-terraform/pkg/tools" "github.com/shirou/gopsutil/mem" ) diff --git a/pkg/providers/dns/tf_recordsets_test.go b/pkg/providers/dns/tf_recordsets_test.go index b56f69d..e5dae8f 100644 --- a/pkg/providers/dns/tf_recordsets_test.go +++ b/pkg/providers/dns/tf_recordsets_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/dns" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/dns" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" ) diff --git a/pkg/providers/dns/tf_zone.go b/pkg/providers/dns/tf_zone.go index 0ef4b69..4910f5f 100644 --- a/pkg/providers/dns/tf_zone.go +++ b/pkg/providers/dns/tf_zone.go @@ -17,7 +17,7 @@ package dns import ( "context" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/dns" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/dns" ) // process zone diff --git a/pkg/providers/dns/tf_zone_test.go b/pkg/providers/dns/tf_zone_test.go index 29eb50a..e89825b 100644 --- a/pkg/providers/dns/tf_zone_test.go +++ b/pkg/providers/dns/tf_zone_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/dns" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/dns" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" ) diff --git a/pkg/providers/edgeworkers/create_edgekv.go b/pkg/providers/edgeworkers/create_edgekv.go index fd286b1..81fad69 100644 --- a/pkg/providers/edgeworkers/create_edgekv.go +++ b/pkg/providers/edgeworkers/create_edgekv.go @@ -10,7 +10,7 @@ import ( "strings" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgeworkers" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgeworkers" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/edgeworkers/create_edgekv_test.go b/pkg/providers/edgeworkers/create_edgekv_test.go index 1dd8001..cc929c4 100644 --- a/pkg/providers/edgeworkers/create_edgekv_test.go +++ b/pkg/providers/edgeworkers/create_edgekv_test.go @@ -10,7 +10,7 @@ import ( "testing" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgeworkers" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgeworkers" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/edgeworkers/create_edgeworker.go b/pkg/providers/edgeworkers/create_edgeworker.go index 84b7a4c..2f8ddd9 100644 --- a/pkg/providers/edgeworkers/create_edgeworker.go +++ b/pkg/providers/edgeworkers/create_edgeworker.go @@ -13,7 +13,7 @@ import ( "text/template" "time" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgeworkers" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgeworkers" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/edgeworkers/create_edgeworker_test.go b/pkg/providers/edgeworkers/create_edgeworker_test.go index 1522eff..edddaad 100644 --- a/pkg/providers/edgeworkers/create_edgeworker_test.go +++ b/pkg/providers/edgeworkers/create_edgeworker_test.go @@ -12,7 +12,7 @@ import ( "testing" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/edgeworkers" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/edgeworkers" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/gtm/create_domain.go b/pkg/providers/gtm/create_domain.go index 7501820..6c350cc 100644 --- a/pkg/providers/gtm/create_domain.go +++ b/pkg/providers/gtm/create_domain.go @@ -24,7 +24,7 @@ import ( "regexp" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/gtm" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/gtm" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/gtm/create_domain_test.go b/pkg/providers/gtm/create_domain_test.go index 1d9e853..eaf98c6 100644 --- a/pkg/providers/gtm/create_domain_test.go +++ b/pkg/providers/gtm/create_domain_test.go @@ -10,7 +10,7 @@ import ( "path/filepath" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/gtm" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/gtm" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/gtm/templates/domain.tmpl b/pkg/providers/gtm/templates/domain.tmpl index fa834c8..2db72b8 100644 --- a/pkg/providers/gtm/templates/domain.tmpl +++ b/pkg/providers/gtm/templates/domain.tmpl @@ -3,7 +3,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/domain_file/domain.tf b/pkg/providers/gtm/testdata/domain_file/domain.tf index d017495..ce792ec 100644 --- a/pkg/providers/gtm/testdata/domain_file/domain.tf +++ b/pkg/providers/gtm/testdata/domain_file/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/domain_with_sign_and_serve/domain.tf b/pkg/providers/gtm/testdata/domain_with_sign_and_serve/domain.tf index 4c153f8..4436aaa 100644 --- a/pkg/providers/gtm/testdata/domain_with_sign_and_serve/domain.tf +++ b/pkg/providers/gtm/testdata/domain_with_sign_and_serve/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/with_datacenters/domain.tf b/pkg/providers/gtm/testdata/with_datacenters/domain.tf index d017495..ce792ec 100644 --- a/pkg/providers/gtm/testdata/with_datacenters/domain.tf +++ b/pkg/providers/gtm/testdata/with_datacenters/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/with_maps/domain.tf b/pkg/providers/gtm/testdata/with_maps/domain.tf index d017495..ce792ec 100644 --- a/pkg/providers/gtm/testdata/with_maps/domain.tf +++ b/pkg/providers/gtm/testdata/with_maps/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/with_multiline/domain.tf b/pkg/providers/gtm/testdata/with_multiline/domain.tf index e78202b..f5ba8f8 100644 --- a/pkg/providers/gtm/testdata/with_multiline/domain.tf +++ b/pkg/providers/gtm/testdata/with_multiline/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/with_multiline2/domain.tf b/pkg/providers/gtm/testdata/with_multiline2/domain.tf index c2b32d3..9942ccd 100644 --- a/pkg/providers/gtm/testdata/with_multiline2/domain.tf +++ b/pkg/providers/gtm/testdata/with_multiline2/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/with_properties/domain.tf b/pkg/providers/gtm/testdata/with_properties/domain.tf index d017495..ce792ec 100644 --- a/pkg/providers/gtm/testdata/with_properties/domain.tf +++ b/pkg/providers/gtm/testdata/with_properties/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/with_qtr_properties/domain.tf b/pkg/providers/gtm/testdata/with_qtr_properties/domain.tf index d017495..ce792ec 100644 --- a/pkg/providers/gtm/testdata/with_qtr_properties/domain.tf +++ b/pkg/providers/gtm/testdata/with_qtr_properties/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/with_ranked_failover_properties/domain.tf b/pkg/providers/gtm/testdata/with_ranked_failover_properties/domain.tf index d017495..ce792ec 100644 --- a/pkg/providers/gtm/testdata/with_ranked_failover_properties/domain.tf +++ b/pkg/providers/gtm/testdata/with_ranked_failover_properties/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/gtm/testdata/with_resources/domain.tf b/pkg/providers/gtm/testdata/with_resources/domain.tf index d017495..ce792ec 100644 --- a/pkg/providers/gtm/testdata/with_resources/domain.tf +++ b/pkg/providers/gtm/testdata/with_resources/domain.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 2.0.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/iam/create_iam.go b/pkg/providers/iam/create_iam.go index 2ce9ff3..4958080 100644 --- a/pkg/providers/iam/create_iam.go +++ b/pkg/providers/iam/create_iam.go @@ -8,7 +8,7 @@ import ( "errors" "fmt" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli/pkg/terminal" "github.com/urfave/cli/v2" ) diff --git a/pkg/providers/iam/create_iam_all.go b/pkg/providers/iam/create_iam_all.go index 1ac3fdc..acabf64 100644 --- a/pkg/providers/iam/create_iam_all.go +++ b/pkg/providers/iam/create_iam_all.go @@ -6,7 +6,7 @@ import ( "fmt" "path/filepath" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/iam/create_iam_all_test.go b/pkg/providers/iam/create_iam_all_test.go index 81d22a8..4114042 100644 --- a/pkg/providers/iam/create_iam_all_test.go +++ b/pkg/providers/iam/create_iam_all_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/iam/create_iam_group.go b/pkg/providers/iam/create_iam_group.go index 5927c32..1a4ba15 100644 --- a/pkg/providers/iam/create_iam_group.go +++ b/pkg/providers/iam/create_iam_group.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/iam/create_iam_group_test.go b/pkg/providers/iam/create_iam_group_test.go index 44db7b2..7ce433a 100644 --- a/pkg/providers/iam/create_iam_group_test.go +++ b/pkg/providers/iam/create_iam_group_test.go @@ -7,7 +7,7 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/iam/create_iam_role.go b/pkg/providers/iam/create_iam_role.go index 70fee0d..2eaaa70 100644 --- a/pkg/providers/iam/create_iam_role.go +++ b/pkg/providers/iam/create_iam_role.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strconv" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/iam/create_iam_role_test.go b/pkg/providers/iam/create_iam_role_test.go index 41d11cb..6c2d64f 100644 --- a/pkg/providers/iam/create_iam_role_test.go +++ b/pkg/providers/iam/create_iam_role_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/iam/create_iam_test.go b/pkg/providers/iam/create_iam_test.go index 540845a..101f42c 100644 --- a/pkg/providers/iam/create_iam_test.go +++ b/pkg/providers/iam/create_iam_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/stretchr/testify/assert" ) diff --git a/pkg/providers/iam/create_iam_user.go b/pkg/providers/iam/create_iam_user.go index aa7a65a..3d3aae2 100644 --- a/pkg/providers/iam/create_iam_user.go +++ b/pkg/providers/iam/create_iam_user.go @@ -6,7 +6,7 @@ import ( "fmt" "path/filepath" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/iam/create_iam_user_test.go b/pkg/providers/iam/create_iam_user_test.go index 34f8937..7d22bad 100644 --- a/pkg/providers/iam/create_iam_user_test.go +++ b/pkg/providers/iam/create_iam_user_test.go @@ -7,7 +7,7 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/iam" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/iam" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/imaging/create_imaging.go b/pkg/providers/imaging/create_imaging.go index 892dd36..9875602 100644 --- a/pkg/providers/imaging/create_imaging.go +++ b/pkg/providers/imaging/create_imaging.go @@ -17,7 +17,7 @@ import ( "strings" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/imaging" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/imaging" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/imaging/create_imaging_test.go b/pkg/providers/imaging/create_imaging_test.go index 8ba326a..87b5d73 100644 --- a/pkg/providers/imaging/create_imaging_test.go +++ b/pkg/providers/imaging/create_imaging_test.go @@ -13,8 +13,8 @@ import ( "testing" "text/template" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/imaging" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/imaging" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli/pkg/terminal" "github.com/stretchr/testify/assert" diff --git a/pkg/providers/papi/create_include.go b/pkg/providers/papi/create_include.go index 1b748ce..a02912a 100644 --- a/pkg/providers/papi/create_include.go +++ b/pkg/providers/papi/create_include.go @@ -7,7 +7,7 @@ import ( "path/filepath" "sort" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/papi" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/papi" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/papi/create_include_test.go b/pkg/providers/papi/create_include_test.go index c7af251..90cbd44 100644 --- a/pkg/providers/papi/create_include_test.go +++ b/pkg/providers/papi/create_include_test.go @@ -8,8 +8,8 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/papi" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/tools" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/papi" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/tools" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli/pkg/terminal" "github.com/stretchr/testify/assert" diff --git a/pkg/providers/papi/create_property.go b/pkg/providers/papi/create_property.go index d29c14a..80e2fce 100644 --- a/pkg/providers/papi/create_property.go +++ b/pkg/providers/papi/create_property.go @@ -30,8 +30,8 @@ import ( "strconv" "strings" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/hapi" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/papi" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/hapi" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/papi" "github.com/akamai/cli-terraform/pkg/edgegrid" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" diff --git a/pkg/providers/papi/create_property_test.go b/pkg/providers/papi/create_property_test.go index cda1f47..9663f27 100644 --- a/pkg/providers/papi/create_property_test.go +++ b/pkg/providers/papi/create_property_test.go @@ -9,8 +9,8 @@ import ( "os" "testing" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/hapi" - "github.com/akamai/AkamaiOPEN-edgegrid-golang/v7/pkg/papi" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/hapi" + "github.com/akamai/AkamaiOPEN-edgegrid-golang/v8/pkg/papi" "github.com/akamai/cli-terraform/pkg/templates" "github.com/akamai/cli-terraform/pkg/tools" "github.com/akamai/cli/pkg/terminal" diff --git a/pkg/providers/papi/templates/property.tmpl b/pkg/providers/papi/templates/property.tmpl index 19f26d1..9063acc 100644 --- a/pkg/providers/papi/templates/property.tmpl +++ b/pkg/providers/papi/templates/property.tmpl @@ -3,7 +3,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-bootstrap/property.tf b/pkg/providers/papi/testdata/basic-bootstrap/property.tf index 3faef9c..0ce47a1 100644 --- a/pkg/providers/papi/testdata/basic-bootstrap/property.tf +++ b/pkg/providers/papi/testdata/basic-bootstrap/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource-empty-options/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource-empty-options/property.tf index c5e5a8f..ab70d6c 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource-empty-options/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource-empty-options/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-01-05/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-01-05/property.tf index cb76f6d..01b2ba9 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-01-05/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-01-05/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-05-30/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-05-30/property.tf index cb76f6d..01b2ba9 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-05-30/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-05-30/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-09-20/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-09-20/property.tf index cb76f6d..01b2ba9 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-09-20/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-09-20/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-10-30/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-10-30/property.tf index cb76f6d..01b2ba9 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-10-30/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2023-10-30/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2024-01-09/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2024-01-09/property.tf index cb76f6d..01b2ba9 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2024-01-09/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2024-01-09/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2024-02-12/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2024-02-12/property.tf index cb76f6d..01b2ba9 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2024-02-12/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource-schema-v2024-02-12/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource-serial/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource-serial/property.tf index c5e5a8f..ab70d6c 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource-serial/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource-serial/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-rules-datasource/property.tf b/pkg/providers/papi/testdata/basic-rules-datasource/property.tf index c5e5a8f..ab70d6c 100644 --- a/pkg/providers/papi/testdata/basic-rules-datasource/property.tf +++ b/pkg/providers/papi/testdata/basic-rules-datasource/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic-v1/property.tf b/pkg/providers/papi/testdata/basic-v1/property.tf index f61bed8..3d98bb0 100644 --- a/pkg/providers/papi/testdata/basic-v1/property.tf +++ b/pkg/providers/papi/testdata/basic-v1/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic/property.tf b/pkg/providers/papi/testdata/basic/property.tf index 6c62b5c..952da1a 100644 --- a/pkg/providers/papi/testdata/basic/property.tf +++ b/pkg/providers/papi/testdata/basic/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_not_latest/property.tf b/pkg/providers/papi/testdata/basic_not_latest/property.tf index 6c62b5c..952da1a 100644 --- a/pkg/providers/papi/testdata/basic_not_latest/property.tf +++ b/pkg/providers/papi/testdata/basic_not_latest/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_property_with_empty_hostname_id/property.tf b/pkg/providers/papi/testdata/basic_property_with_empty_hostname_id/property.tf index d3c332e..302a64b 100644 --- a/pkg/providers/papi/testdata/basic_property_with_empty_hostname_id/property.tf +++ b/pkg/providers/papi/testdata/basic_property_with_empty_hostname_id/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_property_with_include/property.tf b/pkg/providers/papi/testdata/basic_property_with_include/property.tf index 6c62b5c..952da1a 100644 --- a/pkg/providers/papi/testdata/basic_property_with_include/property.tf +++ b/pkg/providers/papi/testdata/basic_property_with_include/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_property_with_multiple_includes/property.tf b/pkg/providers/papi/testdata/basic_property_with_multiple_includes/property.tf index 6c62b5c..952da1a 100644 --- a/pkg/providers/papi/testdata/basic_property_with_multiple_includes/property.tf +++ b/pkg/providers/papi/testdata/basic_property_with_multiple_includes/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_property_with_multiple_includes_rules_as_hcl/property.tf b/pkg/providers/papi/testdata/basic_property_with_multiple_includes_rules_as_hcl/property.tf index c5e5a8f..ab70d6c 100644 --- a/pkg/providers/papi/testdata/basic_property_with_multiple_includes_rules_as_hcl/property.tf +++ b/pkg/providers/papi/testdata/basic_property_with_multiple_includes_rules_as_hcl/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_with_activation_note/property.tf b/pkg/providers/papi/testdata/basic_with_activation_note/property.tf index d8be619..b780f37 100644 --- a/pkg/providers/papi/testdata/basic_with_activation_note/property.tf +++ b/pkg/providers/papi/testdata/basic_with_activation_note/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_with_both_activations/property.tf b/pkg/providers/papi/testdata/basic_with_both_activations/property.tf index cdf7250..d9d4810 100644 --- a/pkg/providers/papi/testdata/basic_with_both_activations/property.tf +++ b/pkg/providers/papi/testdata/basic_with_both_activations/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_with_cert_provisioning_type/property.tf b/pkg/providers/papi/testdata/basic_with_cert_provisioning_type/property.tf index 7f92608..3caae69 100644 --- a/pkg/providers/papi/testdata/basic_with_cert_provisioning_type/property.tf +++ b/pkg/providers/papi/testdata/basic_with_cert_provisioning_type/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_with_multiline_activation_note/property.tf b/pkg/providers/papi/testdata/basic_with_multiline_activation_note/property.tf index cc8fb9f..8f57345 100644 --- a/pkg/providers/papi/testdata/basic_with_multiline_activation_note/property.tf +++ b/pkg/providers/papi/testdata/basic_with_multiline_activation_note/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_with_production_activation/property.tf b/pkg/providers/papi/testdata/basic_with_production_activation/property.tf index 2085656..e014782 100644 --- a/pkg/providers/papi/testdata/basic_with_production_activation/property.tf +++ b/pkg/providers/papi/testdata/basic_with_production_activation/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_with_use_cases/property.tf b/pkg/providers/papi/testdata/basic_with_use_cases/property.tf index bddebbd..3a89032 100644 --- a/pkg/providers/papi/testdata/basic_with_use_cases/property.tf +++ b/pkg/providers/papi/testdata/basic_with_use_cases/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0" diff --git a/pkg/providers/papi/testdata/basic_without_activation/property.tf b/pkg/providers/papi/testdata/basic_without_activation/property.tf index a6b5cba..793f676 100644 --- a/pkg/providers/papi/testdata/basic_without_activation/property.tf +++ b/pkg/providers/papi/testdata/basic_without_activation/property.tf @@ -2,7 +2,7 @@ terraform { required_providers { akamai = { source = "akamai/akamai" - version = ">= 5.6.0" + version = ">= 6.0.0" } } required_version = ">= 1.0"