diff --git a/docs/resources/action.md b/docs/resources/action.md index ad378a12b..7189bb44e 100644 --- a/docs/resources/action.md +++ b/docs/resources/action.md @@ -8,8 +8,6 @@ description: |- Actions are secure, tenant-specific, versioned functions written in Node.js that execute at certain points during the Auth0 runtime. Actions are used to customize and extend Auth0's capabilities with custom logic. -~> Secrets and dependencies must be managed with Terraform, they cannot be managed out-of-band. - ## Example Usage ```terraform @@ -67,10 +65,10 @@ resource "auth0_action" "my_action" { ### Optional -- `dependencies` (Block Set) List of third party npm modules, and their versions, that this action depends on. If your action contains dependencies, they must be managed through Terraform; dependencies cannot be managed out-of-band. (see [below for nested schema](#nestedblock--dependencies)) +- `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 `node18`. 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. If your action contains secrets, they **must** be managed through Terraform; Secrets cannot be managed out-of-band. (see [below for nested schema](#nestedblock--secrets)) +- `secrets` (Block List) List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. (see [below for nested schema](#nestedblock--secrets)) ### Read-Only diff --git a/internal/auth0/action/expand.go b/internal/auth0/action/expand.go index 12d323410..821815883 100644 --- a/internal/auth0/action/expand.go +++ b/internal/auth0/action/expand.go @@ -14,14 +14,22 @@ import ( "github.com/auth0/terraform-provider-auth0/internal/value" ) -func expandAction(config cty.Value) *management.Action { +func expandAction(data *schema.ResourceData) *management.Action { + config := data.GetRawConfig() + action := &management.Action{ Name: value.String(config.GetAttr("name")), Code: value.String(config.GetAttr("code")), Runtime: value.String(config.GetAttr("runtime")), SupportedTriggers: expandActionTriggers(config.GetAttr("supported_triggers")), - Dependencies: expandActionDependencies(config.GetAttr("dependencies")), - Secrets: expandActionSecrets(config.GetAttr("secrets")), + } + + if data.HasChange("dependencies") { + action.Dependencies = expandActionDependencies(config.GetAttr("dependencies")) + } + + if data.HasChange("secrets") { + action.Secrets = expandActionSecrets(config.GetAttr("secrets")) } if action.GetRuntime() == "node18" { @@ -50,10 +58,6 @@ func expandActionTriggers(triggers cty.Value) []management.ActionTrigger { } func expandActionDependencies(dependencies cty.Value) *[]management.ActionDependency { - if dependencies.IsNull() { - return nil - } - actionDependencies := make([]management.ActionDependency, 0) dependencies.ForEachElement(func(_ cty.Value, dep cty.Value) (stop bool) { @@ -68,10 +72,6 @@ func expandActionDependencies(dependencies cty.Value) *[]management.ActionDepend } func expandActionSecrets(secrets cty.Value) *[]management.ActionSecret { - if secrets.IsNull() { - return nil - } - actionSecrets := make([]management.ActionSecret, 0) secrets.ForEachElement(func(_ cty.Value, secret cty.Value) (stop bool) { diff --git a/internal/auth0/action/resource.go b/internal/auth0/action/resource.go index 78ec7a0d3..c0fe29f33 100644 --- a/internal/auth0/action/resource.go +++ b/internal/auth0/action/resource.go @@ -65,7 +65,7 @@ func NewResource() *schema.Resource { "dependencies": { Type: schema.TypeSet, Optional: true, - Description: "List of third party npm modules, and their versions, that this action depends on. If your action contains dependencies, they must be managed through Terraform; dependencies cannot be managed out-of-band.", + Description: "List of third party npm modules, and their versions, that this action depends on.", Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "name": { @@ -95,7 +95,7 @@ func NewResource() *schema.Resource { "secrets": { Type: schema.TypeList, Optional: true, - Description: "List of secrets that are included in an action or a version of an action. If your action contains secrets, they **must** be managed through Terraform; Secrets cannot be managed out-of-band.", + Description: "List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported.", Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "name": { @@ -133,7 +133,7 @@ func NewResource() *schema.Resource { func createAction(ctx context.Context, data *schema.ResourceData, meta interface{}) diag.Diagnostics { api := meta.(*config.Config).GetAPI() - action := expandAction(data.GetRawConfig()) + action := expandAction(data) if err := api.Action.Create(ctx, action); err != nil { return diag.FromErr(err) @@ -167,7 +167,7 @@ func updateAction(ctx context.Context, data *schema.ResourceData, meta interface return diagnostics } - action := expandAction(data.GetRawConfig()) + action := expandAction(data) if err := api.Action.Update(ctx, data.Id(), action); err != nil { return diag.FromErr(internalError.HandleAPIError(data, err)) diff --git a/templates/resources/action.md.tmpl b/templates/resources/action.md.tmpl index dd9e5e51d..f6997aa62 100644 --- a/templates/resources/action.md.tmpl +++ b/templates/resources/action.md.tmpl @@ -8,8 +8,6 @@ description: |- {{ .Description | trimspace }} -~> Secrets and dependencies must be managed with Terraform, they cannot be managed out-of-band. - {{ if .HasExample -}} ## Example Usage diff --git a/test/data/recordings/TestAccAction.yaml b/test/data/recordings/TestAccAction.yaml index c21a147f3..f5255d121 100644 --- a/test/data/recordings/TestAccAction.yaml +++ b/test/data/recordings/TestAccAction.yaml @@ -6,20 +6,20 @@ interactions: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 195 + content_length: 164 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.onExecutePostLogin = async (event, api) =\u003e {};","dependencies":[],"secrets":[]} + {"name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"code":"exports.onExecutePostLogin = async (event, api) =\u003e {};"} form: {} headers: Content-Type: - application/json User-Agent: - - Go-Auth0/1.0.0-beta.0 + - Go-Auth0/1.4.0 url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions method: POST response: @@ -28,15 +28,15 @@ interactions: proto_minor: 0 transfer_encoding: [] trailer: {} - content_length: 397 + content_length: 400 uncompressed: false - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:29.695108Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"pending","secrets":[],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:15.329315915Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"pending","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 201 Created code: 201 - duration: 136.74275ms + duration: 243.083083ms - id: 1 request: proto: HTTP/1.1 @@ -55,8 +55,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -66,13 +66,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:29.695108Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:15.329315915Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 99.686333ms + duration: 196.184916ms - id: 2 request: proto: HTTP/1.1 @@ -91,8 +91,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -102,13 +102,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:29.695108Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:15.329315915Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 122.041084ms + duration: 599.143917ms - id: 3 request: proto: HTTP/1.1 @@ -127,8 +127,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -138,13 +138,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:29.695108Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:15.329315915Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 98.610083ms + duration: 459.066042ms - id: 4 request: proto: HTTP/1.1 @@ -163,8 +163,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -174,13 +174,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:29.695108Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:15.329315915Z","code":"exports.onExecutePostLogin = async (event, api) => {};","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 101.16625ms + duration: 413.238584ms - id: 5 request: proto: HTTP/1.1 @@ -199,8 +199,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: PATCH response: proto: HTTP/2.0 @@ -210,13 +210,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"pending","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 111.546459ms + duration: 291.181917ms - id: 6 request: proto: HTTP/1.1 @@ -235,8 +235,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -246,13 +246,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 129.945208ms + duration: 214.662417ms - id: 7 request: proto: HTTP/1.1 @@ -271,8 +271,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -282,13 +282,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 162.333792ms + duration: 218.038542ms - id: 8 request: proto: HTTP/1.1 @@ -307,8 +307,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -318,13 +318,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 218.789ms + duration: 184.951208ms - id: 9 request: proto: HTTP/1.1 @@ -343,8 +343,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -354,13 +354,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"building","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 103.400333ms + duration: 226.547792ms - id: 10 request: proto: HTTP/1.1 @@ -379,8 +379,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -390,13 +390,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"all_changes_deployed":false}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 94.639333ms + duration: 314.783583ms - id: 11 request: proto: HTTP/1.1 @@ -415,9 +415,9 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a - method: GET + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637/deploy + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -426,13 +426,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"all_changes_deployed":false}' + body: '{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":false,"number":1,"secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.395460722Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.341751065Z","all_changes_deployed":false}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 117.102375ms + duration: 359.583709ms - id: 12 request: proto: HTTP/1.1 @@ -451,9 +451,9 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a/deploy - method: POST + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -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":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":false,"number":1,"secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.700285299Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.201401593Z","all_changes_deployed":false}}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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: 166.972333ms + duration: 237.295583ms - id: 13 request: proto: HTTP/1.1 @@ -487,8 +487,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -498,13 +498,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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: 161.307375ms + duration: 263.0155ms - id: 14 request: proto: HTTP/1.1 @@ -523,8 +523,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -534,13 +534,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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: 98.649334ms + duration: 161.871208ms - id: 15 request: proto: HTTP/1.1 @@ -559,8 +559,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -570,34 +570,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:18.374576116Z","code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"runtime":"node18-actions","status":"built","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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: 156.675458ms + duration: 147.422583ms - id: 16 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 5 + content_length: 359 transfer_encoding: [] trailer: {} host: terraform-provider-auth0-dev.eu.auth0.com remote_addr: "" request_uri: "" body: | - null + {"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":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"secrets":[{"name":"foo","value":"123456"},{"name":"bar","value":"654321"}]} 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/8bbf1d3d-0100-477c-97d7-428692672f5a - method: GET + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 + method: PATCH response: proto: HTTP/2.0 proto_major: 2 @@ -606,34 +606,34 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:31.208607861Z","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-18T20:00:31.208607861Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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: 100.82525ms + duration: 260.514541ms - id: 17 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 359 + content_length: 5 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":"auth0","version":"2.42.0"},{"name":"moment","version":"2.29.4"}],"secrets":[{"name":"foo","value":"123456"},{"name":"bar","value":"654321"}]} + 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/8bbf1d3d-0100-477c-97d7-428692672f5a - method: PATCH + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -642,13 +642,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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: 180.737667ms + duration: 273.99175ms - id: 18 request: proto: HTTP/1.1 @@ -667,8 +667,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -678,13 +678,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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.386917ms + duration: 198.673958ms - id: 19 request: proto: HTTP/1.1 @@ -703,8 +703,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -714,13 +714,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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: 99.487875ms + duration: 206.697042ms - id: 20 request: proto: HTTP/1.1 @@ -739,8 +739,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -750,13 +750,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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.405458ms + duration: 314.174084ms - id: 21 request: proto: HTTP/1.1 @@ -775,8 +775,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -786,13 +786,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-12-20T09:21:27.568471462Z","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"11480121-3b68-4597-a5b1-2f7933fa6a4a","deployed":true,"number":1,"built_at":"2023-12-20T09:21:27.568471462Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:18.374576116Z"}],"status":"built","created_at":"2023-12-20T09:21:27.395460722Z","updated_at":"2023-12-20T09:21:27.578943576Z","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: 118.251791ms + duration: 261.569333ms - id: 22 request: proto: HTTP/1.1 @@ -811,9 +811,9 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a - method: GET + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637/deploy + method: POST response: proto: HTTP/2.0 proto_major: 2 @@ -822,13 +822,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":false,"number":2,"secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.707538808Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.390033213Z","all_changes_deployed":false}}' headers: Content-Type: - application/json; charset=utf-8 status: 200 OK code: 200 - duration: 154.11675ms + duration: 552.835209ms - id: 23 request: proto: HTTP/1.1 @@ -847,8 +847,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -858,13 +858,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","code":"exports.onContinuePostLogin = async (event, api) => {};","runtime":"node18-actions","status":"BUILT","number":1,"build_time":"2023-07-18T20:00:47.784901005Z","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z"},"deployed_version":{"code":"exports.onContinuePostLogin = async (event, api) => {};","dependencies":[{"name":"auth0","version":"2.41.0"}],"id":"1b0d8b88-f448-4707-a699-e13dddae1c8f","deployed":true,"number":1,"built_at":"2023-07-18T20:00:47.784901005Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:31.208607861Z"}],"status":"built","created_at":"2023-07-18T20:00:47.700285299Z","updated_at":"2023-07-18T20:00:47.785570887Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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.127ms + duration: 295.46275ms - id: 24 request: proto: HTTP/1.1 @@ -883,9 +883,9 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a/deploy - method: POST + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 + method: GET response: proto: HTTP/2.0 proto_major: 2 @@ -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":"moment","version":"2.29.4"},{"name":"auth0","version":"2.42.0"}],"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":false,"number":2,"secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.748205380Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}],"action":{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.431017176Z","all_changes_deployed":false}}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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: 105.09075ms + duration: 216.907084ms - id: 25 request: proto: HTTP/1.1 @@ -919,8 +919,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -930,13 +930,13 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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: 98.897208ms + duration: 219.411667ms - id: 26 request: proto: HTTP/1.1 @@ -955,8 +955,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -966,86 +966,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":true}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:29.419439416Z","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-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"current_version":{"id":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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: 119.389542ms + duration: 504.013125ms - id: 27 - 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/8bbf1d3d-0100-477c-97d7-428692672f5a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","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.130625ms - - id: 28 - 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/8bbf1d3d-0100-477c-97d7-428692672f5a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:00:49.437873978Z","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-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"current_version":{"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","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: 112.250291ms - - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1063,8 +991,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: PATCH response: proto: HTTP/2.0 @@ -1074,14 +1002,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:07.540177505Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"pending","secrets":[],"current_version":{"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:41.601726157Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"pending","secrets":[],"current_version":{"id":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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: 317.253875ms - - id: 30 + duration: 505.702042ms + - id: 28 request: proto: HTTP/1.1 proto_major: 1 @@ -1099,8 +1027,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -1110,14 +1038,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:07.540177505Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:41.601726157Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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: 99.762375ms - - id: 31 + duration: 224.148541ms + - id: 29 request: proto: HTTP/1.1 proto_major: 1 @@ -1135,8 +1063,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -1146,14 +1074,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:07.540177505Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:41.601726157Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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.820625ms - - id: 32 + duration: 247.781375ms + - id: 30 request: proto: HTTP/1.1 proto_major: 1 @@ -1171,8 +1099,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -1182,33 +1110,33 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:07.540177505Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:41.601726157Z","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","dependencies":[],"runtime":"node18-actions","status":"built","secrets":[],"current_version":{"id":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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.219958ms - - id: 33 + duration: 171.821459ms + - id: 31 request: proto: HTTP/1.1 proto_major: 1 proto_minor: 1 - content_length: 279 + content_length: 266 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":[]} + {"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"} 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: PATCH response: proto: HTTP/2.0 @@ -1218,86 +1146,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:09.148554708Z","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":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:43.556047948Z","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":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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: 143.6075ms - - 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/8bbf1d3d-0100-477c-97d7-428692672f5a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:09.148554708Z","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":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","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: 160.194875ms - - 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/8bbf1d3d-0100-477c-97d7-428692672f5a - method: GET - response: - proto: HTTP/2.0 - proto_major: 2 - proto_minor: 0 - transfer_encoding: [] - trailer: {} - content_length: -1 - uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:09.148554708Z","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":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","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: 94.702416ms - - id: 36 + duration: 275.398625ms + - id: 32 request: proto: HTTP/1.1 proto_major: 1 @@ -1315,8 +1171,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -1326,14 +1182,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:09.148554708Z","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":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:43.556047948Z","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":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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: 95.743125ms - - id: 37 + duration: 185.985833ms + - id: 33 request: proto: HTTP/1.1 proto_major: 1 @@ -1351,8 +1207,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: GET response: proto: HTTP/2.0 @@ -1362,14 +1218,14 @@ interactions: trailer: {} content_length: -1 uncompressed: true - body: '{"id":"8bbf1d3d-0100-477c-97d7-428692672f5a","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-07-18T20:00:29.682773144Z","updated_at":"2023-07-18T20:01:09.148554708Z","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":"741bbe54-a61e-4644-b4de-764f0f4971f5","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-07-18T20:01:05.816996506Z","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z"},"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":"741bbe54-a61e-4644-b4de-764f0f4971f5","deployed":true,"number":2,"built_at":"2023-07-18T20:01:05.816996506Z","secrets":[{"name":"foo","updated_at":"2023-07-18T20:00:49.437873978Z"},{"name":"bar","updated_at":"2023-07-18T20:00:49.437873978Z"}],"status":"built","created_at":"2023-07-18T20:01:05.748205380Z","updated_at":"2023-07-18T20:01:05.817683965Z","runtime":"node18-actions","supported_triggers":[{"id":"post-login","version":"v3"}]},"all_changes_deployed":false}' + body: '{"id":"41cf2991-7810-44d7-8dba-f26965735637","name":"Test Action TestAccAction","supported_triggers":[{"id":"post-login","version":"v3"}],"created_at":"2023-12-20T09:21:15.306715923Z","updated_at":"2023-12-20T09:21:43.556047948Z","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":"4f1579a6-ff5a-433d-94c6-57834c94d436","code":"exports.onContinuePostLogin = async (event, api) => {\n\tconsole.log(event)\n};\"\n","runtime":"node18-actions","status":"BUILT","number":2,"build_time":"2023-12-20T09:21:38.877803071Z","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z"},"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":"4f1579a6-ff5a-433d-94c6-57834c94d436","deployed":true,"number":2,"built_at":"2023-12-20T09:21:38.877803071Z","secrets":[{"name":"foo","updated_at":"2023-12-20T09:21:29.419439416Z"},{"name":"bar","updated_at":"2023-12-20T09:21:29.419439416Z"}],"status":"built","created_at":"2023-12-20T09:21:38.707538808Z","updated_at":"2023-12-20T09:21:38.878927329Z","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: 121.083292ms - - id: 38 + duration: 422.818334ms + - id: 34 request: proto: HTTP/1.1 proto_major: 1 @@ -1386,8 +1242,8 @@ interactions: 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/8bbf1d3d-0100-477c-97d7-428692672f5a + - Go-Auth0/1.4.0 + url: https://terraform-provider-auth0-dev.eu.auth0.com/api/v2/actions/actions/41cf2991-7810-44d7-8dba-f26965735637 method: DELETE response: proto: HTTP/2.0 @@ -1403,4 +1259,4 @@ interactions: - application/json; charset=utf-8 status: 204 No Content code: 204 - duration: 155.856833ms + duration: 489.534417ms