diff --git a/docs/resources/action.md b/docs/resources/action.md index 4627a9f5b..299e057bd 100644 --- a/docs/resources/action.md +++ b/docs/resources/action.md @@ -13,7 +13,7 @@ Actions are secure, tenant-specific, versioned functions written in Node.js that ```terraform resource "auth0_action" "my_action" { name = format("Test Action %s", timestamp()) - runtime = "node16" + runtime = "node18" deploy = true code = <<-EOT /** @@ -67,7 +67,7 @@ resource "auth0_action" "my_action" { - `dependencies` (Block Set) List of third party npm modules, and their versions, that this action depends on. (see [below for nested schema](#nestedblock--dependencies)) - `deploy` (Boolean) Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately. -- `runtime` (String) The Node runtime. Defaults to `node12`. Possible values are: `node12`, `node16` or `node18-actions`. +- `runtime` (String) The Node runtime. Defaults to `node16`. Possible values are: `node16` (not recommended), or `node18` (recommended). - `secrets` (Block List) List of secrets that are included in an action or a version of an action. (see [below for nested schema](#nestedblock--secrets)) ### Read-Only diff --git a/examples/resources/auth0_action/resource.tf b/examples/resources/auth0_action/resource.tf index 9b44efd28..d50cc71ea 100644 --- a/examples/resources/auth0_action/resource.tf +++ b/examples/resources/auth0_action/resource.tf @@ -1,6 +1,6 @@ resource "auth0_action" "my_action" { name = format("Test Action %s", timestamp()) - runtime = "node16" + runtime = "node18" deploy = true code = <<-EOT /** diff --git a/internal/auth0/action/expand.go b/internal/auth0/action/expand.go index 7d318417b..32a5f1992 100644 --- a/internal/auth0/action/expand.go +++ b/internal/auth0/action/expand.go @@ -4,6 +4,7 @@ import ( "context" "fmt" + "github.com/auth0/go-auth0" "github.com/auth0/go-auth0/management" "github.com/hashicorp/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" @@ -22,6 +23,10 @@ func expandAction(config cty.Value) *management.Action { Secrets: expandActionSecrets(config.GetAttr("secrets")), } + if action.GetRuntime() == "node18" { + action.Runtime = auth0.String("node18-actions") + } + return action } diff --git a/internal/auth0/action/resource.go b/internal/auth0/action/resource.go index 8fe925f47..5a3b42093 100644 --- a/internal/auth0/action/resource.go +++ b/internal/auth0/action/resource.go @@ -89,11 +89,9 @@ func NewResource() *schema.Resource { ValidateFunc: validation.StringInSlice([]string{ "node12", "node16", - "node18", // Node 18 beta. - "node18-actions", // Node 18 GA. + "node18", }, false), - Description: "The Node runtime. Defaults to `node12`. Possible values are: " + - "`node12`, `node16` or `node18-actions`.", + Description: "The Node runtime. Defaults to `node16`. Possible values are: `node16` (not recommended), or `node18` (recommended).", }, "secrets": { Type: schema.TypeList, @@ -165,13 +163,17 @@ func readAction(ctx context.Context, d *schema.ResourceData, m interface{}) diag } result := multierror.Append( - d.Set("name", action.Name), + d.Set("name", action.GetName()), d.Set("supported_triggers", flattenActionTriggers(action.SupportedTriggers)), - d.Set("code", action.Code), + d.Set("code", action.GetCode()), d.Set("dependencies", flattenActionDependencies(action.GetDependencies())), - d.Set("runtime", action.Runtime), + d.Set("runtime", action.GetRuntime()), ) + if action.GetRuntime() == "node18-actions" { + result = multierror.Append(result, d.Set("runtime", "node18")) + } + if action.DeployedVersion != nil { result = multierror.Append(result, d.Set("version_id", action.DeployedVersion.GetID())) } @@ -204,13 +206,12 @@ func deleteAction(ctx context.Context, d *schema.ResourceData, m interface{}) di if err := api.Action.Delete(ctx, d.Id()); err != nil { if mErr, ok := err.(management.Error); ok && mErr.Status() == http.StatusNotFound { - d.SetId("") return nil } + return diag.FromErr(err) } - d.SetId("") return nil } diff --git a/internal/auth0/action/resource_test.go b/internal/auth0/action/resource_test.go index 0bec470e2..d4add1537 100644 --- a/internal/auth0/action/resource_test.go +++ b/internal/auth0/action/resource_test.go @@ -11,26 +11,26 @@ import ( ) const testAccActionConfigCreateWithOnlyRequiredFields = ` -resource auth0_action my_action { +resource "auth0_action" "my_action" { name = "Test Action {{.testName}}" code = "exports.onExecutePostLogin = async (event, api) => {};" supported_triggers { - id = "post-login" + id = "post-login" version = "v3" } } ` const testAccActionConfigUpdateAllFields = ` -resource auth0_action my_action { - name = "Test Action {{.testName}}" - code = "exports.onContinuePostLogin = async (event, api) => {};" - runtime = "node16" - deploy = true +resource "auth0_action" "my_action" { + name = "Test Action {{.testName}}" + code = "exports.onContinuePostLogin = async (event, api) => {};" + runtime = "node18" + deploy = true supported_triggers { - id = "post-login" + id = "post-login" version = "v3" } @@ -47,27 +47,27 @@ resource auth0_action my_action { ` const testAccActionConfigUpdateAgain = ` -resource auth0_action my_action { - name = "Test Action {{.testName}}" +resource "auth0_action" "my_action" { + name = "Test Action {{.testName}}" deploy = true - code = <<-EOT + code = <<-EOT exports.onContinuePostLogin = async (event, api) => { console.log(event) };" EOT supported_triggers { - id = "post-login" + id = "post-login" version = "v3" } secrets { - name = "foo" + name = "foo" value = "123456" } secrets { - name = "bar" + name = "bar" value = "654321" } @@ -84,7 +84,7 @@ resource auth0_action my_action { ` const testAccActionConfigResetToRequiredFields = ` -resource auth0_action my_action { +resource "auth0_action" "my_action" { name = "Test Action {{.testName}}" code = <<-EOT exports.onContinuePostLogin = async (event, api) => { @@ -93,12 +93,41 @@ resource auth0_action my_action { EOT supported_triggers { - id = "post-login" + id = "post-login" version = "v3" } } ` +// This config makes use of a crypto dependency definition that causes the +// action build to fail. This is because the crypto package has been +// deprecated https://www.npmjs.com/package/crypto. +// +// If this is ever fixed in the API, another means of failing the build will +// need to be used here. +const testAccActionConfigCreateWithFailedBuild = ` +resource "auth0_action" "my_action" { + name = "Test Action {{.testName}}" + runtime = "node16" + deploy = true + code = <<-EOT + exports.onContinuePostLogin = async (event, api) => { + console.log(event) + };" + EOT + + supported_triggers { + id = "post-login" + version = "v3" + } + + dependencies { + name = "crypto" + version = "17.7.1" + } +} +` + func TestAccAction(t *testing.T) { acctest.Test(t, resource.TestCase{ Steps: []resource.TestStep{ @@ -122,7 +151,7 @@ func TestAccAction(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_action.my_action", "name", fmt.Sprintf("Test Action %s", t.Name())), resource.TestCheckResourceAttr("auth0_action.my_action", "code", "exports.onContinuePostLogin = async (event, api) => {};"), - resource.TestCheckResourceAttr("auth0_action.my_action", "runtime", "node16"), + resource.TestCheckResourceAttr("auth0_action.my_action", "runtime", "node18"), resource.TestCheckResourceAttr("auth0_action.my_action", "deploy", "true"), resource.TestCheckResourceAttrSet("auth0_action.my_action", "version_id"), resource.TestCheckResourceAttr("auth0_action.my_action", "supported_triggers.#", "1"), @@ -141,7 +170,7 @@ func TestAccAction(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_action.my_action", "name", fmt.Sprintf("Test Action %s", t.Name())), resource.TestCheckResourceAttr("auth0_action.my_action", "code", "exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n"), - resource.TestCheckResourceAttr("auth0_action.my_action", "runtime", "node16"), + resource.TestCheckResourceAttr("auth0_action.my_action", "runtime", "node18"), resource.TestCheckResourceAttr("auth0_action.my_action", "deploy", "true"), resource.TestCheckResourceAttrSet("auth0_action.my_action", "version_id"), resource.TestCheckResourceAttr("auth0_action.my_action", "supported_triggers.#", "1"), @@ -164,7 +193,7 @@ func TestAccAction(t *testing.T) { Check: resource.ComposeTestCheckFunc( resource.TestCheckResourceAttr("auth0_action.my_action", "name", fmt.Sprintf("Test Action %s", t.Name())), resource.TestCheckResourceAttr("auth0_action.my_action", "code", "exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n"), - resource.TestCheckResourceAttr("auth0_action.my_action", "runtime", "node16"), + resource.TestCheckResourceAttr("auth0_action.my_action", "runtime", "node18"), resource.TestCheckResourceAttrSet("auth0_action.my_action", "version_id"), resource.TestCheckResourceAttr("auth0_action.my_action", "supported_triggers.#", "1"), resource.TestCheckResourceAttr("auth0_action.my_action", "supported_triggers.0.id", "post-login"), @@ -173,42 +202,6 @@ func TestAccAction(t *testing.T) { resource.TestCheckResourceAttr("auth0_action.my_action", "secrets.#", "0"), ), }, - }, - }) -} - -// This config makes use of a crypto dependency definition that causes the -// action build to fail. This is because the crypto package has been -// deprecated https://www.npmjs.com/package/crypto. -// -// If this is ever fixed in the API, another means of failing the build will -// need to be used here. -const testAccActionConfigCreateWithFailedBuild = ` -resource auth0_action my_action { - name = "Test Action {{.testName}}" - runtime = "node18-actions" - deploy = true - code = <<-EOT - exports.onContinuePostLogin = async (event, api) => { - console.log(event) - };" - EOT - - supported_triggers { - id = "post-login" - version = "v3" - } - - dependencies { - name = "crypto" - version = "17.7.1" - } -} -` - -func TestAccAction_FailedBuild(t *testing.T) { - acctest.Test(t, resource.TestCase{ - Steps: []resource.TestStep{ { Config: acctest.ParseTestName(testAccActionConfigCreateWithFailedBuild, t.Name()), Check: resource.ComposeTestCheckFunc( diff --git a/test/data/recordings/TestAccAction.yaml b/test/data/recordings/TestAccAction.yaml index dd1e8d899..aa1bd089c 100644 --- a/test/data/recordings/TestAccAction.yaml +++ b/test/data/recordings/TestAccAction.yaml @@ -19,7 +19,7 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 + - Go-Auth0/1.0.0-beta.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions method: POST response: @@ -30,13 +30,13 @@ interactions: trailer: {} content_length: 392 uncompressed: false - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:13.610389577Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:57.670114256Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 138.043375ms + duration: 138.629167ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:13.610389577Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:57.670114256Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.800875ms + duration: 216.928667ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:13.610389577Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:57.670114256Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.98625ms + duration: 219.931417ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:13.610389577Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:57.670114256Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.611459ms + duration: 211.178041ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -174,33 +174,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:13.610389577Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:57.670114256Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node16","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 95.833375ms + duration: 204.895958ms - id: 5 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 281 + content_length: 289 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - {"name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","secrets":[{"name":"foo","value":"111111"}]} + {"name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","secrets":[{"name":"foo","value":"111111"}]} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: PATCH response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"pending","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"pending","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.040917ms + duration: 214.504042ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 89.076875ms + duration: 203.559666ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -282,13 +282,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 100.325791ms + duration: 208.905209ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.285583ms + duration: 103.239209ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -354,13 +354,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 131.576ms + duration: 220.221542ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 114.1355ms + duration: 206.727209ms - id: 11 request: proto: HTTP/1.1 @@ -415,8 +415,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.514875ms + duration: 109.499166ms - id: 12 request: proto: HTTP/1.1 @@ -451,8 +451,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c/deploy + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da/deploy method: POST response: proto: HTTP/2.0 @@ -462,13 +462,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":false,"number":1,"secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.463941145Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.178833714Z","all_changes_deployed":false}}' + body: '{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":false,"number":1,"secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.611982297Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.942077874Z","all_changes_deployed":false}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 130.839583ms + duration: 112.385416ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.441208ms + duration: 323.847ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 118.526292ms + duration: 103.109125ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -570,13 +570,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 107.462041ms + duration: 103.7725ms - id: 16 request: proto: HTTP/1.1 @@ -595,8 +595,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -606,13 +606,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:15.182942921Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:06:59.948834419Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 133.029584ms + duration: 98.995833ms - id: 17 request: proto: HTTP/1.1 @@ -631,8 +631,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: PATCH response: proto: HTTP/2.0 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"pending","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node18-actions","status":"pending","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.714875ms + duration: 164.528334ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 104.376041ms + duration: 111.472209ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 106.597ms + duration: 114.795959ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.460541ms + duration: 110.83ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.060375ms + duration: 100.275042ms - id: 22 request: proto: HTTP/1.1 @@ -811,8 +811,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"building","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 102.920917ms + duration: 100.137958ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node16","status":"BUILT","number":1,"build_time":"2023-06-20T13:33:31.563898186Z","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"f322a6f3-7985-464b-b3ea-5b6211ed8047","deployed":true,"number":1,"built_at":"2023-06-20T13:33:31.563898186Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:15.182942921Z"}],"status":"built","created_at":"2023-06-20T13:33:31.463941145Z","updated_at":"2023-06-20T13:33:31.564918760Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-15T17:07:16.682289631Z","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"efa9df15-f318-43c1-9017-8e92e9bfa467","deployed":true,"number":1,"built_at":"2023-07-15T17:07:16.682289631Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:06:59.948834419Z"}],"status":"built","created_at":"2023-07-15T17:07:16.611982297Z","updated_at":"2023-07-15T17:07:16.683202041Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.745083ms + duration: 208.336917ms - id: 24 request: proto: HTTP/1.1 @@ -883,8 +883,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c/deploy + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da/deploy method: POST response: proto: HTTP/2.0 @@ -894,13 +894,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","deployed":false,"number":2,"secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"status":"built","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.482125512Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.224664017Z","all_changes_deployed":false}}' + body: '{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":false,"number":2,"secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:34.975134440Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.531873161Z","all_changes_deployed":false}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 105.986166ms + duration: 137.644584ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node16","status":"BUILT","number":2,"build_time":"2023-06-20T13:33:49.549317631Z","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","deployed":true,"number":2,"built_at":"2023-06-20T13:33:49.549317631Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"status":"built","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.056708ms + duration: 120.491959ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -966,13 +966,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node16","status":"BUILT","number":2,"build_time":"2023-06-20T13:33:49.549317631Z","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","deployed":true,"number":2,"built_at":"2023-06-20T13:33:49.549317631Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"status":"built","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 109.8425ms + duration: 105.52825ms - id: 27 request: proto: HTTP/1.1 @@ -991,8 +991,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -1002,13 +1002,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node16","status":"BUILT","number":2,"build_time":"2023-06-20T13:33:49.549317631Z","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","deployed":true,"number":2,"built_at":"2023-06-20T13:33:49.549317631Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"status":"built","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 90.357833ms + duration: 103.550125ms - id: 28 request: proto: HTTP/1.1 @@ -1027,8 +1027,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -1038,13 +1038,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:33.231961317Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"runtime":"node16","status":"built","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"current_version":{"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node16","status":"BUILT","number":2,"build_time":"2023-06-20T13:33:49.549317631Z","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","deployed":true,"number":2,"built_at":"2023-06-20T13:33:49.549317631Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"status":"built","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:18.543300490Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 110.383334ms + duration: 103.449375ms - id: 29 request: proto: HTTP/1.1 @@ -1063,8 +1063,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: PATCH response: proto: HTTP/2.0 @@ -1074,13 +1074,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:51.087254712Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node16","status":"pending","secrets":[],"current_version":{"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node16","status":"BUILT","number":2,"build_time":"2023-06-20T13:33:49.549317631Z","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","deployed":true,"number":2,"built_at":"2023-06-20T13:33:49.549317631Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"status":"built","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:36.758271669Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"pending","secrets":[],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.067833ms + duration: 131.143083ms - id: 30 request: proto: HTTP/1.1 @@ -1099,8 +1099,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -1110,13 +1110,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:51.087254712Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node16","status":"BUILT","number":2,"build_time":"2023-06-20T13:33:49.549317631Z","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","deployed":true,"number":2,"built_at":"2023-06-20T13:33:49.549317631Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"status":"built","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:36.758271669Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 92.550583ms + duration: 99.060708ms - id: 31 request: proto: HTTP/1.1 @@ -1135,8 +1135,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: GET response: proto: HTTP/2.0 @@ -1146,14 +1146,194 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"7980ddc1-136e-45c5-974d-39b1c5a31a5c","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-06-20T13:33:13.599170036Z","updated_at":"2023-06-20T13:33:51.087254712Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node16","status":"built","secrets":[],"current_version":{"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node16","status":"BUILT","number":2,"build_time":"2023-06-20T13:33:49.549317631Z","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"id":"6aff9565-df30-44a1-8c3c-35e1eee2a64a","deployed":true,"number":2,"built_at":"2023-06-20T13:33:49.549317631Z","secrets":[{"name":"foo","updated_at":"2023-06-20T13:33:33.231961317Z"},{"name":"bar","updated_at":"2023-06-20T13:33:33.231961317Z"}],"status":"built","created_at":"2023-06-20T13:33:49.482125512Z","updated_at":"2023-06-20T13:33:49.550085779Z","runtime":"node16","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:36.758271669Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 96.738916ms + duration: 99.608042ms - id: 32 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:36.758271669Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.962416ms + - id: 33 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 279 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + {"name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node16","secrets":[]} + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da + method: PATCH + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:38.197351333Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node16","status":"pending","secrets":[],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 119.180041ms + - id: 34 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:38.197351333Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node16","status":"building","secrets":[],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 97.651208ms + - id: 35 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:38.197351333Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node16","status":"building","secrets":[],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 109.960875ms + - id: 36 + request: + proto: HTTP/1.1 + proto_major: 1 + proto_minor: 1 + content_length: 5 + transfer_encoding: [] + trailer: {} + host: terraform-provider-auth0-dev.eu.auth0.com + remote_addr: "" + request_uri: "" + body: | + null + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da + method: GET + response: + proto: HTTP/2.0 + proto_major: 2 + proto_minor: 0 + transfer_encoding: [] + trailer: {} + content_length: -1 + uncompressed: true + body: '{"id":"a3a7d73d-d887-48e4-b9ce-aa45aac1e2da","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-15T17:06:57.659423323Z","updated_at":"2023-07-15T17:07:38.197351333Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node16","status":"failed","secrets":[],"current_version":{"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-15T17:07:35.038295301Z","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"8e84869e-5bb0-4430-b904-c3e4890e723d","deployed":true,"number":2,"built_at":"2023-07-15T17:07:35.038295301Z","secrets":[{"name":"foo","updated_at":"2023-07-15T17:07:18.543300490Z"},{"name":"bar","updated_at":"2023-07-15T17:07:18.543300490Z"}],"status":"built","created_at":"2023-07-15T17:07:34.975134440Z","updated_at":"2023-07-15T17:07:35.038640402Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + headers: + Content-Type: + - application/json; charset=utf-8 + status: 200 OK + code: 200 + duration: 114.981709ms + - id: 37 request: proto: HTTP/1.1 proto_major: 1 @@ -1170,8 +1350,8 @@ interactions: Content-Type: - application/json User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/7980ddc1-136e-45c5-974d-39b1c5a31a5c + - Go-Auth0/1.0.0-beta.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/a3a7d73d-d887-48e4-b9ce-aa45aac1e2da method: DELETE response: proto: HTTP/2.0 @@ -1187,4 +1367,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 136.184834ms + duration: 122.029334ms diff --git a/test/data/recordings/TestAccAction_FailedBuild.yaml b/test/data/recordings/TestAccAction_FailedBuild.yaml deleted file mode 100644 index eb362fa2f..000000000 --- a/test/data/recordings/TestAccAction_FailedBuild.yaml +++ /dev/null @@ -1,254 +0,0 @@ ---- -version: 2 -interactions: - - id: 0 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 299 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - {"name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onContinuePostLogin = async (event, api) =\u003e {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","secrets":[]} - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions - method: POST - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 477 - uncompressed: false - body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"pending","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 201 Created - code: 201 - duration: 175.6235ms - - id: 1 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"building","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 157.227292ms - - id: 2 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"building","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 120.96425ms - - id: 3 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"building","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.095625ms - - id: 4 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"building","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 121.073459ms - - id: 5 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 5 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: | - null - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"faa76f9f-4ee0-4411-8a92-43255e49a727","name":"Test Action TestAccAction_FailedBuild","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-12T16:37:14.793829402Z","updated_at":"2023-07-12T16:37:14.824637448Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[{"name":"crypto","version":"17.7.1"}],"runtime":"node18-actions","status":"failed","secrets":[],"all_changes_deployed":false}' - headers: - Content-Type: - - application/json; charset=utf-8 - status: 200 OK - code: 200 - duration: 123.17475ms - - id: 6 - request: - proto: HTTP/1.1 - proto_major: 1 - proto_minor: 1 - content_length: 0 - transfer_encoding: [] - trailer: {} - host: terraform-provider-auth0-dev.eu.auth0.com - remote_addr: "" - request_uri: "" - body: "" - form: {} - headers: - Content-Type: - - application/json - User-Agent: - - Go-Auth0-SDK/0.17.2 - url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/faa76f9f-4ee0-4411-8a92-43255e49a727 - method: DELETE - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: 0 - uncompressed: false - body: "" - headers: - Content-Type: - - application/json; charset=utf-8 - status: 204 No Content - code: 204 - duration: 153.905833ms