diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..26d6b52 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,109 @@ +--- +name: Bug report +about: Report a Terraform provider that doesn't work +title: '' +labels: bug +assignees: '' + +--- + +_replace anything in this template with your actual values, most sections have placeholders/examples_ + +### Terraform backing provider + +**Name:** _the provider vendor/name, as you'd write in the Terraform file_ +**Version:** _the provider version, as written in the SPC file_ + +### SPC file + +_(remember to remove any confidential tokens from the SPC file, and replace them with dummy data)_ + +```hcl +connection "tfbridge" { + plugin = "jreyesr/tfbridge" + + provider = "???" + version = "???" + + provider_config = < + Steampipe logs + +``` +2023-08-12 22:05:54.002 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: Plugin execute table: github_users (169187795474) +2023-08-12 22:05:54.002 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: Plugin execute, setting memory limit to -1Mb +2023-08-12 22:05:54.002 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: Setting max concurrent connections to 25 +2023-08-12 22:05:54.002 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: executeForConnection callId: 169187795474, connectionCallId: tfbridge-169187795474, connection: tfbridge table: github_users cols: usernames,id,emails,logins,node_ids,unknown_logins,_ctx +2023-08-12 22:05:54.002 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: Setting free memory interval to 100 rows +2023-08-12 22:05:54.004 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: cacheEnabled, trying cache get (tfbridge-169187795474) +2023-08-12 22:05:54.004 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: getCachedQueryResult returned CACHE MISS - checking for pending transfers (tfbridge-169187795474) +2023-08-12 22:05:54.004 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: findAndSubscribeToPendingRequest returning error cache miss - this will be treated as a cache miss, so add pending item (tfbridge-169187795474) +2023-08-12 22:05:54.004 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: queryCacheGet returned CACHE MISS (tfbridge-169187795474) +2023-08-12 22:05:54.007 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: tfbridge.ListDataSource: +2023-08-12 22:05:54.007 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: equalsQuals= +2023-08-12 22:05:54.007 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: | usernames = [ +2023-08-12 22:05:54.007 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: | "jreyesr" +2023-08-12 22:05:54.007 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: | ] +2023-08-12 22:05:54.007 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: +2023-08-12 22:05:54.007 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: tfbridge.ListDataSource: location=/tmp/steampipe-plugin-tfbridge/tfbridge/2023-08-12T22:05:35Z/terraform-provider-github_5.33.0_linux_amd64.zip/terraform-provider-github_v5.33.0 +2023-08-12 22:05:54.007 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.007-0500 [DEBUG] provider: starting plugin: path=/usr/bin/sh args=["sh", "-c", "/tmp/steampipe-plugin-tfbridge/tfbridge/2023-08-12T22:05:35Z/terraform-provider-github_5.33.0_linux_amd64.zip/terraform-provider-github_v5.33.0"] +2023-08-12 22:05:54.007 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.007-0500 [DEBUG] provider: plugin started: path=/usr/bin/sh pid=254307 +2023-08-12 22:05:54.007 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.007-0500 [DEBUG] provider: waiting for RPC address: path=/usr/bin/sh +2023-08-12 22:05:54.023 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.023-0500 [DEBUG] provider: using plugin: version=5 +2023-08-12 22:05:54.023 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.023-0500 [DEBUG] provider.sh: plugin address: address=/tmp/plugin3433056442 network=unix timestamp=2023-08-12T17:05:54.023-0500 +2023-08-12 22:05:54.025 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: [DEBUG] 169187795474: configureProvider: +2023-08-12 22:05:54.025 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: rawConfig= +2023-08-12 22:05:54.025 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: | token = "ITSAGITHUBPAT" +2023-08-12 22:05:54.025 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: +2023-08-12 22:05:54.033 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: [DEBUG] 169187795474: configureProvider: parsedConfigType="{{{} map[app_auth:{{{} {{{} map[id:{{{} 83}} installation_id:{{{} 83}} pem_file:{{{} 83}}] map[]}}}} base_url:{{{} 83}} insecure:{{{} 66}} organization:{{{} 83}} owner:{{{} 83}} parallel_requests:{{{} 66}} read_delay_ms:{{{} 78}} token:{{{} 83}} write_delay_ms:{{{} 78}}] map[]}}" parsedConfig="{{{{} map[app_auth:{{{} {{{} map[id:{{{} 83}} installation_id:{{{} 83}} pem_file:{{{} 83}}] map[]}}}} base_url:{{{} 83}} insecure:{{{} 66}} organization:{{{} 83}} owner:{{{} 83}} parallel_requests:{{{} 66}} read_delay_ms:{{{} 78}} token:{{{} 83}} write_delay_ms:{{{} 78}}] map[]}} map[app_auth:[] base_url: insecure: organization: owner: parallel_requests: read_delay_ms: token:ITSAGITHUBPAT write_delay_ms:]}" +2023-08-12 22:05:54.043 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.043-0500 [DEBUG] provider.sh: 2023/08/12 17:05:54 [INFO] Selecting owner from GITHUB_OWNER environment variable +2023-08-12 22:05:54.043 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.043-0500 [DEBUG] provider.sh: 2023/08/12 17:05:54 [INFO] Setting write_delay_ms to 1000 +2023-08-12 22:05:54.043 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.043-0500 [DEBUG] provider.sh: 2023/08/12 17:05:54 [DEBUG] Setting read_delay_ms to 0 +2023-08-12 22:05:54.043 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.043-0500 [DEBUG] provider.sh: 2023/08/12 17:05:54 [DEBUG] Setting parallel_requests to false +2023-08-12 22:05:54.511 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: 2023-08-12T17:05:54.511-0500 [DEBUG] provider.sh: 2023/08/12 17:05:54 [INFO] Token present; configuring authenticated owner: jreyesr +2023-08-12 22:05:54.531 UTC [DEBUG] steampipe-plugin-tfbridge.plugin: [DEBUG] 169187795474: readDataSource: dsSchema="&{0 0xc014fff9b0}" dsSchemaType="{{{} map[emails:{{{} {{{} 83}}}} id:{{{} 83}} logins:{{{} {{{} 83}}}} node_ids:{{{} {{{} 83}}}} unknown_logins:{{{} {{{} 83}}}} usernames:{{{} {{{} 83}}}}] map[]}}" +2023-08-12 22:05:54.531 UTC [WARN] steampipe-plugin-tfbridge.plugin: [WARN] 169187795474: readDataSource.makeSimpleQuals.unsupported: qualName=usernames qual="jsonb_value:\"[\n \\"jreyesr\\"\n]\"" typeInSchema="{{{} {{{} 83}}}}" err="type {{{} {{{} 83}}}} can't be handled by quals" +2023-08-12 22:05:54.531 UTC [WARN] steampipe-plugin-tfbridge.plugin: [WARN] 169187795474: tfbridge.ListDataSource.readDataSource: name=github_users +2023-08-12 22:05:54.531 UTC [WARN] steampipe-plugin-tfbridge.plugin: [WARN] 169187795474: doList callHydrateWithRetries (tfbridge-169187795474) returned err type {{{} {{{} 83}}}} can't be handled by quals +2023-08-12 22:05:54.531 UTC [WARN] steampipe-plugin-tfbridge.plugin: [WARN] 169187795474: QueryData StreamError type {{{} {{{} 83}}}} can't be handled by quals (tfbridge-169187795474) +2023-08-12 22:05:54.531 UTC [WARN] steampipe-plugin-tfbridge.plugin: [WARN] 169187795474: streamRows for tfbridge-169187795474 - execution has failed (type {{{} {{{} 83}}}} can't be handled by quals) - calling queryCache.AbortSet +2023-08-12 22:05:54.531 UTC [WARN] steampipe-plugin-tfbridge.plugin: [WARN] 169187795474: executeForConnection tfbridge returned error type {{{} {{{} 83}}}} can't be handled by quals +2023-08-12 22:05:54.531 UTC [WARN] steampipe-plugin-tfbridge.plugin: [WARN] 169187795474: error channel received type {{{} {{{} 83}}}} can't be handled by quals +2023-08-12 22:05:54.531 UTC [INFO] steampipe-plugin-tfbridge.plugin: [INFO] 169187795474: Plugin execute complete (169187795474) +``` +