Created
January 26, 2021 23:11
-
-
Save dancrumb/27b22799207101c799b97ad0256a7c33 to your computer and use it in GitHub Desktop.
Auth0 Provider bug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021/01/26 17:03:05 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility. | |
Use TF_LOG=TRACE to see Terraform's internal logs. | |
---- | |
2021/01/26 17:03:05 [INFO] Terraform version: 0.14.3 | |
2021/01/26 17:03:05 [INFO] Go runtime version: go1.15.5 | |
2021/01/26 17:03:05 [INFO] CLI args: []string{"/usr/local/bin/terraform", "import", "auth0_resource_server.ahana_api", "https://ahanapediatrics.com/api"} | |
2021/01/26 17:03:05 [DEBUG] Attempting to open CLI config file: /Users/danrumney/.terraformrc | |
2021/01/26 17:03:05 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2021/01/26 17:03:05 Loading CLI configuration from /Users/danrumney/.terraform.d/credentials.tfrc.json | |
2021/01/26 17:03:05 [DEBUG] checking for credentials in "/Users/danrumney/.terraform.d/plugins" | |
2021/01/26 17:03:05 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2021/01/26 17:03:05 [DEBUG] will search for provider plugins in /Users/danrumney/.terraform.d/plugins | |
2021/01/26 17:03:05 [DEBUG] ignoring non-existing provider search directory /Users/danrumney/Library/Application Support/io.terraform/plugins | |
2021/01/26 17:03:05 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins | |
2021/01/26 17:03:05 [INFO] CLI command args: []string{"import", "auth0_resource_server.ahana_api", "https://ahanapediatrics.com/api"} | |
2021/01/26 17:03:05 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility. | |
Use TF_LOG=TRACE to see Terraform's internal logs. | |
---- | |
2021/01/26 17:03:05 [DEBUG] Service discovery for app.terraform.io at https://app.terraform.io/.well-known/terraform.json | |
2021/01/26 17:03:05 [DEBUG] Retrieve version constraints for service tfe.v2.1 and product terraform | |
2021/01/26 17:03:06 [DEBUG] checking for provisioner in "." | |
2021/01/26 17:03:06 [DEBUG] checking for provisioner in "/usr/local/bin" | |
2021/01/26 17:03:06 [DEBUG] checking for provisioner in "/Users/danrumney/.terraform.d/plugins" | |
2021/01/26 17:03:06 [INFO] Failed to read plugin lock file .terraform/plugins/darwin_amd64/lock.json: open .terraform/plugins/darwin_amd64/lock.json: no such file or directory | |
2021-01-26T17:03:06.738-0600 [INFO] plugin: configuring client automatic mTLS | |
2021-01-26T17:03:06.770-0600 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0 args=[.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0] | |
2021-01-26T17:03:06.774-0600 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0 pid=55591 | |
2021-01-26T17:03:06.774-0600 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0 | |
2021-01-26T17:03:06.789-0600 [INFO] plugin.terraform-provider-auth0_v0.18.0: configuring server automatic mTLS: timestamp=2021-01-26T17:03:06.789-0600 | |
2021-01-26T17:03:06.818-0600 [DEBUG] plugin.terraform-provider-auth0_v0.18.0: plugin address: address=/var/folders/61/6wfvwq9s2bq4hgwm88t3r_dc0000gn/T/plugin942295274 network=unix timestamp=2021-01-26T17:03:06.818-0600 | |
2021-01-26T17:03:06.818-0600 [DEBUG] plugin: using plugin: version=5 | |
2021-01-26T17:03:06.875-0600 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2021-01-26T17:03:06.876-0600 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0 pid=55591 | |
2021-01-26T17:03:06.876-0600 [DEBUG] plugin: plugin exited | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_email.mailtrap" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_rule.addP1Role" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_client.admin_portal" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_email_template.blocked_email" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_email_template.welcome_email" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_email_template.reset_password" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_rule.assignRoleOnLogin" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_role.provider" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_resource_server.ahana_api (import id \"https://ahanapediatrics.com/api\")" (*terraform.graphNodeImportState) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_client.aws-client" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_role.support" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
xact match for provider["registry.terraform.io/alexkappa/auth0"] serving auth0_client_grant.aws-client-grant | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_client_grant.aws-client-grant" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_client_grant.admin_portal_grant" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_resource_server.ahana_api" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_rule.addUserEmail" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_client.ahana_app" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ProviderTransformer: "auth0_role.guardian" (*terraform.NodeAbstractResource) needs provider["registry.terraform.io/alexkappa/auth0"] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_resource_server.ahana_api" references: [] | |
ormer: "auth0_rule.assignRoleOnLogin" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.SES_ACCESS_KEY" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.SMTP_HOST" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.ahana_admin_domain_port" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_role.provider" references: [auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.EMAIL_PASSWORD" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/alexkappa/auth0\"]" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_client.aws-client" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_rule.addUserEmail" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.SES_REGION" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.ahana_base_domain_port" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_resource_server.ahana_api (import id \"https://ahanapediatrics.com/api\")" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.P1_URL" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_client.admin_portal" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_client.ahana_app" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_email_template.blocked_email" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.AHANA_DOMAIN" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.EMAIL_USER" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_email.mailtrap" references: [var.EMAIL_PASSWORD var.EMAIL_PORT var.EMAIL_USER var.SMTP_HOST] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.P1_AUTH_SECRET" references: [] | |
7:03:06 [DEBUG] ReferenceTransformer: "var.EMAIL_PORT" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_role.support" references: [auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api auth0_resource_server.ahana_api] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.SES_ACCESS_KEY_ID" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.ahana_base_domain" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.AHANA_ID" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.AHANA_SECRET" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_email_template.welcome_email" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_role.guardian" references: [auth0_resource_server.ahana_api auth0_resource_server.ahana_api] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_client_grant.aws-client-grant" references: [auth0_resource_server.ahana_api auth0_client.aws-client] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.AHANA_MGMT_ID" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "var.AHANA_MGMT_SECRET" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_email_template.reset_password" references: [] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_client_grant.admin_portal_grant" references: [auth0_client.admin_portal auth0_resource_server.ahana_api] | |
2021/01/26 17:03:06 [DEBUG] ReferenceTransformer: "auth0_rule.addP1Role" references: [] | |
2021/01/26 17:03:06 [DEBUG] Starting graph walk: walkImport | |
2021-01-26T17:03:06.886-0600 [INFO] plugin: configuring client automatic mTLS | |
2021-01-26T17:03:06.907-0600 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0 args=[.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0] | |
2021-01-26T17:03:06.912-0600 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0 pid=55592 | |
2021-01-26T17:03:06.912-0600 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0 | |
2021-01-26T17:03:06.923-0600 [INFO] plugin.terraform-provider-auth0_v0.18.0: configuring server automatic mTLS: timestamp=2021-01-26T17:03:06.923-0600 | |
2021-01-26T17:03:06.946-0600 [DEBUG] plugin.terraform-provider-auth0_v0.18.0: plugin address: address=/var/folders/61/6wfvwq9s2bq4hgwm88t3r_dc0000gn/T/plugin496893991 network=unix timestamp=2021-01-26T17:03:06.945-0600 | |
2021-01-26T17:03:06.946-0600 [DEBUG] plugin: using plugin: version=5 | |
Error: Missing required argument | |
on /Users/danrumney/Projects/care-neighbourhood/auth0/local/cdk.tf.json line 27, in provider.auth0[0]: | |
27: {} | |
The argument "client_secret" is required, but no definition was found. | |
Error: Missing required argument | |
on /Users/danrumney/Projects/care-neighbourhood/auth0/local/cdk.tf.json line 27, in provider.auth0[0]: | |
27: {} | |
The argument "domain" is required, but no definition was found. | |
Error: Missing required argument | |
on /Users/danrumney/Projects/care-neighbourhood/auth0/local/cdk.tf.json line 27, in provider.auth0[0]: | |
27: {} | |
The argument "client_id" is required, but no definition was found. | |
2021-01-26T17:03:07.137-0600 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing" | |
2021-01-26T17:03:07.138-0600 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/alexkappa/auth0/0.18.0/darwin_amd64/terraform-provider-auth0_v0.18.0 pid=55592 | |
2021-01-26T17:03:07.138-0600 [DEBUG] plugin: plugin exited |
Nah... I end up having to manually adjust the generated types to get it to work
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever find a solution to this? I'm experiencing the same bug.