profile
viewpoint

aequasi/cache-bundle 35

Integrated Cache Bundle for Symfony

aequasi/discord-analytics-bot 8

Analytics Bot for Discord

aequasi/BlackJack 3

PHP BlackJack on the CLI

aequasi/Crate 3

Javascript IOC Container

aequasi/cron-bundle 3

Symfony2 Cron Bundle

aequasi/AlgoliaSearchBundle 1

Seamless integration of Algolia Search into your Symfony project.

aequasi/adapter-bundle 0

A Symfony bundle to register adapters as services

aequasi/aequasi.github.com 0

Aaron Scherer's Blog

startedrust-lang/rustlings

started time in 10 hours

issue openedtailwindlabs/headlessui

onChange type for `ListBox` is incorrect

Because the listbox uses the props from the TTag as well, the TTag onChange type is overwriting the onChange(value: TType): void type

image

created time in 4 days

issue commentsventschui/next-plugin-preact

Circular structure errors

Potentially, yeah

aequasi

comment created time in 10 days

issue openedsventschui/next-plugin-preact

Circular structure errors

So, just gave this a try. I'm getting "Circular structure in "getInitialProps" result of page "X"" errors now, and I don't even have "getInitialProps".

Commenting out getStaticProps removes the error, but there is nothing circular in there

created time in 11 days

push eventaequasi/react-query

Aaron Scherer

commit sha ad777e2137f36bfa32c012190a5afdb89959cd3e

making uniform with devtools instructions

view details

push time in 18 days

push eventaequasi/react-query

Aaron Scherer

commit sha 4ecc63c620a78633bdddf978b5c2b33ac20f07f8

Update devtools.md

view details

push time in 18 days

push eventaequasi/react-query

Aaron Scherer

commit sha 704bfe5cad0c3f2b8cd87c6c37ab63f4f68144c2

Update devtools.md

view details

push time in 18 days

PR opened tannerlinsley/react-query

Remove unnecessary --save in install instructions

Thankfully, --save hasn't been necessary with NPM for some time now :)

+1 -1

0 comment

1 changed file

pr created time in 18 days

push eventaequasi/react-query

Aaron Scherer

commit sha 663c6c87b59cb164132deeb101ff785dd08cb62b

Remove unnecessary --save in install instructions Thankfully, `--save` hasn't been necessary with NPM for some time now :)

view details

push time in 18 days

fork aequasi/react-query

⚛️ Hooks for fetching, caching and updating asynchronous data in React

https://react-query.tanstack.com

fork in 18 days

push eventaequasi/postcss-exclude-files

Aaron Scherer

commit sha 794532bb14375c16fd91e91849d8e24f79bfb6f7

removing default export

view details

push time in 24 days

issue commentanyley/postcss-exclude-files

how to use the require syntax

This doesn't unfortunately work with next.js. Can you please remove the default export and move to module.exports

GabrielDelepine

comment created time in 24 days

push eventaequasi/homework

Aaron Scherer

commit sha 6b94efc7e1f1b2b7d0cff4ebf31b732a1655c3ed

Update index.ts

view details

Aaron Scherer

commit sha dda9ca757aaf6580d863224b75a151dabc2496f9

Merge pull request #2 from aequasi/aequasi-patch-2 Update index.ts

view details

push time in 25 days

PR merged aequasi/homework

Update index.ts
+0 -1

0 comment

1 changed file

aequasi

pr closed time in 25 days

push eventaequasi/homework

Aaron Scherer

commit sha 8bc65689dc52c302fd6fb45cab62e8c72a7a200a

Update README.md

view details

Aaron Scherer

commit sha 4c17586655791bc29f2b0c805ea740dd153aacbf

Merge pull request #1 from aequasi/aequasi-patch-1 Update README.md

view details

push time in 25 days

PR merged aequasi/homework

Update README.md
+1 -0

0 comment

1 changed file

aequasi

pr closed time in 25 days

push eventaequasi/homework

Aaron Scherer

commit sha c0a4c81d5bd5a0735bd2304fdbd3b3d629abd090

Update .gitignore

view details

Aaron Scherer

commit sha 7863c424481dbe2d895e51312f0e4fba5d0febac

Merge pull request #3 from aequasi/aequasi-patch-3 Update .gitignore

view details

push time in 25 days

push eventaequasi/homework

Aaron Scherer

commit sha 516279afd507054e98bce7d0a5ebe261038c8c1d

Update tsconfig.json

view details

Aaron Scherer

commit sha 3ce0a57ccddd3df58e91e6bed32e5ed976dfbf21

Merge pull request #4 from aequasi/aequasi-patch-4 Update tsconfig.json

view details

push time in 25 days

PR merged aequasi/homework

Update tsconfig.json
+1 -0

0 comment

1 changed file

aequasi

pr closed time in 25 days

PR opened aequasi/homework

Update tsconfig.json
+1 -0

0 comment

1 changed file

pr created time in 25 days

create barnchaequasi/homework

branch : aequasi-patch-4

created branch time in 25 days

PR opened aequasi/homework

Update .gitignore
+1 -0

0 comment

1 changed file

pr created time in 25 days

create barnchaequasi/homework

branch : aequasi-patch-3

created branch time in 25 days

PR opened aequasi/homework

Update index.ts
+0 -1

0 comment

1 changed file

pr created time in 25 days

create barnchaequasi/homework

branch : aequasi-patch-2

created branch time in 25 days

PR opened aequasi/homework

Update README.md
+1 -0

0 comment

1 changed file

pr created time in 25 days

create barnchaequasi/homework

branch : aequasi-patch-1

created branch time in 25 days

PublicEvent

push eventaequasi/eris-command-framework

Aaron Scherer

commit sha 11d4ce64cf03d74ee87d7be42fbf6950fe49d3ee

Update README.md

view details

Aaron Scherer

commit sha 59a2bfe0d97efbab9a95f1aec254b2ac138f7c5b

Merge pull request #4 from aequasi/aequasi-patch-1 Update README.md

view details

push time in a month

create barnchaequasi/eris-command-framework

branch : aequasi-patch-1

created branch time in a month

push eventaequasi/terraform-provider-discord

Aaron Scherer

commit sha 09447bf28fcc1ba56d0e7b2203f06724eeaa4439

Update README.md

view details

Aaron Scherer

commit sha 5daf0f0b1ff78f6137d8a0c3a3e9fdd4e44f3299

Merge pull request #3 from aequasi/aequasi-patch-1 Update README.md

view details

push time in a month

create barnchaequasi/terraform-provider-discord

branch : aequasi-patch-1

created branch time in a month

push eventrestcord/restcord

Patrick

commit sha 167030980e2126f33f4bc7a6bdd9c0faa1a05a1b

Fix RateLimiter (exclude minor parameters) (#126) * Simplify getRoute with explicit cast, Remove unecessary duplicate call to getUri, * Crude minor parameter removal * Improve error handling, * Fix styleci * Revert last change * Use while for delay to not interfere when multiple requests are delayed, * Update src/RateLimit/Provider/AbstractRateLimitProvider.php Co-authored-by: Aaron Scherer <aequasi@gmail.com> * Update src/RateLimit/RateLimiter.php Co-authored-by: Aaron Scherer <aequasi@gmail.com> * Update src/RateLimit/RateLimiter.php Co-authored-by: Aaron Scherer <aequasi@gmail.com> * Update src/RateLimit/RateLimiter.php Co-authored-by: Aaron Scherer <aequasi@gmail.com> * Update src/RateLimit/RateLimiter.php Co-authored-by: Aaron Scherer <aequasi@gmail.com> * Update src/RateLimit/RateLimiter.php Co-authored-by: Aaron Scherer <aequasi@gmail.com> * Update src/RateLimit/RateLimiter.php Co-authored-by: Aaron Scherer <aequasi@gmail.com> * Add new line at EOF Co-authored-by: Aaron Scherer <aequasi@gmail.com>

view details

push time in a month

PR merged restcord/restcord

Reviewers
Fix RateLimiter (exclude minor parameters)

Information: https://github.com/restcord/restcord/issues/122

Primary task of this PR is to exclude minor parameters from the rate limiters lookup table. The reason behind this is explained in the linked issue and on the rate limiting documentation of the discord API https://discord.com/developers/docs/topics/rate-limits

  • [x] Implement
  • [x] Test
  • [ ] Refactor (Get root & endpoint templates from definition rather than using regex to improve maintainability and DRY). *
+38 -7

1 comment

2 changed files

bumbummen99

pr closed time in a month

push eventrestcord/restcord

HilbertGilbertson

commit sha b851366d83b7d227e0550c90aeed134299159b32

Added premium_since to GuildMember model (#116) Note that I was unable to utilise the downloadServiceDefinition binary, as it is dependent upon a web resource that no longer appears to exist (https://discord-service-definition.herokuapp.com/) Accordingly, GuildMember.php had to be edited manually, along with the service definition file.

view details

push time in a month

PR merged restcord/restcord

Add premium_since to GuildMember model

Fixes #115

Note that I was unable to utilise the downloadServiceDefinition binary, as it is dependent upon the discord-service-definition web resource that no longer appears to exist. Accordingly, GuildMember.php had to be edited manually, along with the service definition file.

+14 -2

1 comment

2 changed files

HilbertGilbertson

pr closed time in a month

pull request commentrestcord/restcord

Add premium_since to GuildMember model

Its back up now

HilbertGilbertson

comment created time in a month

push eventrestcord/restcord

Aaron Scherer

commit sha d0c1896baf80b51c86f8cc02dd9bafd2e59577c7

Update README.md (#131)

view details

push time in a month

PR merged restcord/restcord

Update README.md
+3 -2

0 comment

1 changed file

aequasi

pr closed time in a month

PR opened restcord/restcord

Update README.md
+3 -2

0 comment

1 changed file

pr created time in a month

create barnchrestcord/restcord

branch : aequasi-patch-2

created branch time in a month

PR closed restcord/restcord

Update README.md

Link to new discord-php added

+1 -1

2 comments

1 changed file

TrooperMaXX

pr closed time in a month

pull request commentrestcord/restcord

Update README.md

Yeah, will link back to the original DiscordPHP

TrooperMaXX

comment created time in a month

push eventrestcord/restcord

Aaron Scherer

commit sha 43dffc5d894197dd0b15c8d14934af4cc52d9b88

Update LICENSE (#130)

view details

push time in a month

PR merged restcord/restcord

Update LICENSE
+1 -1

0 comment

1 changed file

aequasi

pr closed time in a month

PR opened restcord/restcord

Update LICENSE
+1 -1

0 comment

1 changed file

pr created time in a month

create barnchrestcord/restcord

branch : aequasi-patch-1

created branch time in a month

push eventaequasi/environment-php

Aaron Scherer

commit sha d12d084b0087b7bb2300a181e4b512049738b408

Update README.md

view details

Aaron Scherer

commit sha 3440f79c5d5dee6421f54a52cf0ec4a57fbf5f49

Merge pull request #14 from aequasi/aequasi-patch-2 Update README.md

view details

push time in a month

PR merged aequasi/environment-php

Update README.md

Plain-er language. Less insulting

+1 -2

0 comment

1 changed file

aequasi

pr closed time in a month

PR opened aequasi/environment-php

Update README.md
+1 -2

0 comment

1 changed file

pr created time in a month

create barnchaequasi/environment-php

branch : aequasi-patch-2

created branch time in a month

push eventaequasi/fluent-behavior-tree

Aaron Scherer

commit sha 5cdb7c79b9956eb15e372c63400a787455861fda

Update LICENSE

view details

push time in a month

issue commentserverless/serverless

Reference CF resources attributes in serverless.yml

The Fn::GetAtt: doesn't seem to work anymore?

I'm getting this error: Configuration warning at 'provider.environment.SQS_QUEUE_URL': unsupported configuration format

service: test

provider:
  name: aws
  environment:
    SQS_QUEUE_URL:
      Fn::GetAtt:
        - NewSQSQueue
        - Arn

functions:
  createUser:
    handler: index.create

resources:
  Resources:
    NewSQSQueue:
      Type: AWS::SQS::Queue
      Properties:
        QueueName: "queue-${opt:stage, self:provider.stage}.fifo"
        FifoQueue: true
mthenw

comment created time in a month

fork aequasi/cli

GitHub’s official command line tool

https://cli.github.com

fork in a month

Pull request review commentrestcord/restcord

Fix RateLimiter (exclude minor parameters)

 public function __construct(AbstractRateLimitProvider $provider, array $options,      * @param callable $handler      *      * @return \Closure+     * @throws RatelimitException      */     public function __invoke(callable $handler)     {         return function (RequestInterface $request, $options) use ($handler) {-            // Amount of time to delay the request by-            $delay = $this->getDelay($request);--            if ($delay > 0) {+            /* Amount of time to delay the request by */
            // Amount of time to delay the request by
bumbummen99

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentrestcord/restcord

Fix RateLimiter (exclude minor parameters)

 public function __construct(AbstractRateLimitProvider $provider, array $options,      * @param callable $handler      *      * @return \Closure+     * @throws RatelimitException      */     public function __invoke(callable $handler)     {         return function (RequestInterface $request, $options) use ($handler) {-            // Amount of time to delay the request by-            $delay = $this->getDelay($request);--            if ($delay > 0) {+            /* Amount of time to delay the request by */+            while(($delay = $this->getDelay($request)) > 0) {+                /* Throw an exception if configured to do so, this will NOT delay the request and raise an Exception */
                // Throw an exception if configured to do so, this will NOT delay the request and raise an Exception
bumbummen99

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentrestcord/restcord

Fix RateLimiter (exclude minor parameters)

 public function __invoke(callable $handler)                 $this->delay($delay);             } -            // Sets the time when this request is beind made,-            // which allows calculation of allowance later on.+            /* +             * Sets the time when this request is beind made,+             * which allows calculation of allowance later on.+             */
            // Sets the time when this request is beind made,
            // which allows calculation of allowance later on.
bumbummen99

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentrestcord/restcord

Fix RateLimiter (exclude minor parameters)

 public function __invoke(callable $handler)                 $this->delay($delay);             } -            // Sets the time when this request is beind made,-            // which allows calculation of allowance later on.+            /* +             * Sets the time when this request is beind made,+             * which allows calculation of allowance later on.+             */             $this->provider->setLastRequestTime($request); -            // Set the allowance when the response was received+            /* Set the allowance when the response was received */
            // Set the allowance when the response was received
bumbummen99

comment created time in 2 months

PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentrestcord/restcord

Fix RateLimiter (exclude minor parameters)

 protected function log(RequestInterface $request, $delay)      * Formats a request and delay time as a log message.      *      * @param RequestInterface $request The request being logged.-     * @param float            $delay   The amount of time that the request is delayed for.+     * @param float             $delay   The amount of time that the request is delayed for.
     * @param float            $delay   The amount of time that the request is delayed for.
bumbummen99

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentrestcord/restcord

Fix RateLimiter (exclude minor parameters)

 protected function setAllowance(RequestInterface $request)             return $response;         };     }-}+}

Newline at EoF please

bumbummen99

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentrestcord/restcord

Fix RateLimiter (exclude minor parameters)

 public function getRoute(RequestInterface $request)      * @param ResponseInterface $response The resolved response.      */     abstract public function setRequestAllowance(RequestInterface $request, ResponseInterface $response);-}++    /**+     * Method to match out major parameters of the route and+     * remove minor parameters / numbers. This has to be done+     * to ensure correct rate limiting according to: +     * https://discord.com/developers/docs/topics/rate-limits+     *+     * @param string $url+     * @return string+     */+    protected function stripMinorParameters(string $url) : string+    {+        $matches = [];+        if (+            (+                preg_match('/^(https:\/\/discord\.com\/api\/v6\/channels\/\d*).*?$/', $url, $matches) === 1 ||+                preg_match('/^(https:\/\/discord\.com\/api\/v6\/guilds\/\d*).*?$/', $url, $matches) === 1 ||+                preg_match('/^(https:\/\/discord\.com\/api\/v6\/users\/@me\/guilds\/\d*).*?$/', $url, $matches) === 1 || +                preg_match('/^(https:\/\/discord\.com\/api\/v6\/webhooks\/\d*).*?$/', $url, $matches) === 1

Future proof this

                preg_match('/^(https:\/\/discord\.com\/api\/v\d+\/channels\/\d*).*?$/', $url, $matches) === 1 ||
                preg_match('/^(https:\/\/discord\.com\/api\/v\d+\/guilds\/\d*).*?$/', $url, $matches) === 1 ||
                preg_match('/^(https:\/\/discord\.com\/api\/v\d+\/users\/@me\/guilds\/\d*).*?$/', $url, $matches) === 1 || 
                preg_match('/^(https:\/\/discord\.com\/api\/v\d+\/webhooks\/\d*).*?$/', $url, $matches) === 1
bumbummen99

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentrestcord/restcord

Fix RateLimiter (exclude minor parameters)

 public function getRoute(RequestInterface $request)      * @param ResponseInterface $response The resolved response.      */     abstract public function setRequestAllowance(RequestInterface $request, ResponseInterface $response);-}++    /**+     * Method to match out major parameters of the route and+     * remove minor parameters / numbers. This has to be done+     * to ensure correct rate limiting according to: +     * https://discord.com/developers/docs/topics/rate-limits+     *+     * @param string $url+     * @return string+     */+    protected function stripMinorParameters(string $url) : string+    {+        $matches = [];+        if (+            (+                preg_match('/^(https:\/\/discord\.com\/api\/v6\/channels\/\d*).*?$/', $url, $matches) === 1 ||+                preg_match('/^(https:\/\/discord\.com\/api\/v6\/guilds\/\d*).*?$/', $url, $matches) === 1 ||+                preg_match('/^(https:\/\/discord\.com\/api\/v6\/users\/@me\/guilds\/\d*).*?$/', $url, $matches) === 1 || +                preg_match('/^(https:\/\/discord\.com\/api\/v6\/webhooks\/\d*).*?$/', $url, $matches) === 1+            ) && count($matches) === 2+        ) {+            $url = $matches[1] . preg_replace('/[0-9]+/', '', substr($url, strlen($matches[1])));+        }++        return $url;+    }+}

Newline at EoF please

bumbummen99

comment created time in 2 months

PullRequestReviewEvent

issue commentrestcord/restcord

retrieving error {"message": "401: Unauthorized", "code": 0}

Your user for that token doesn't have access to that channel. Thats what unauthorized means.

Blackpaul

comment created time in 2 months

issue commentrestcord/restcord

retrieving error 500

$client->guild->getChannel() is not a real method. And you need to reset your token now. Next time, replace it

Blackpaul

comment created time in 2 months

issue openedluispuig/react-snaplist-carousel

BC Break in 3.1.0

https://github.com/luispuig/react-snaplist-carousel/commit/a2d23d6b804dcab1da9520db8edc746c6837f23e#diff-e3457effa5fa347d185fdd0d08ba3209R173

FYI, this should have been a 4.0.0 release.

created time in 2 months

created tagaequasi/terraform-provider-discord

tagv0.0.4

Discord Provider for Terraform

created time in 2 months

release aequasi/terraform-provider-discord

v0.0.4

released time in 2 months

push eventaequasi/terraform-provider-discord

Aaron Scherer

commit sha 0072afce28afbbbf113c4e74b307f659c10fb4c2

Adding a wait on rate-limit exceptions

view details

push time in 2 months

created tagaequasi/terraform-provider-discord

tagv0.0.3

Discord Provider for Terraform

created time in 2 months

release aequasi/terraform-provider-discord

v0.0.3

released time in 2 months

push eventaequasi/terraform-provider-discord

Aaron Scherer

commit sha e9bf9ae9599b5f1c16fd35e52131942cedd7f14a

Adding to gitignore

view details

push time in 2 months

push eventaequasi/terraform-provider-discord

Aaron Scherer

commit sha e27c26a7f5ab1b75f44b17e96cf342a4518bea78

Fixing member roles

view details

push time in 2 months

issue commenthashicorp/terraform

Terraform 0.13 not implicitly passing provider configs for third-party providers properly

I suppose the lack of being able to organize better may be due to me using modules improperly.

I'm not sure how familiar you are with Discord, but to explain what I'm trying to do briefly:

Trying to create a server, with multiple categories of channels inside the server. I want to separate the categories in to their own directories to keep them organized, and to avoid clashing of keys.

  • terraform.tf
  • provider.tf
  • server.tf
  • categories.tf (Creates the modules)
  • Categories
    • information
      • provider.tf
      • terraform.tf
      • channels.tf
      • permissions.tf
    • chatting (Same structure as information)
    • media (Same structure as information)
    • staff (Same structure as information)
aequasi

comment created time in 2 months

issue commenthashicorp/terraform

Terraform 0.13 not implicitly passing provider configs for third-party providers properly

It does, but that's a really poor DX :/ Prevents any sort of organization using modules. The documentation on this wasn't super clear. I would expect any non-aliased provider (default or not) to be implicitly passed down through children modules.

aequasi

comment created time in 2 months

issue commenthashicorp/terraform

Terraform 0.13 not implicitly passing provider configs for third-party providers properly

https://github.com/aequasi/terraform-13-custom-provider-test/blob/master/terraform.tf#L4-L9

I believe i'm doing that here.

aequasi

comment created time in 2 months

issue commenthashicorp/terraform

Terraform 0.13 not implicitly passing provider configs for third-party providers properly

The documentation says that provider configs are implicitly passed for unaliased providers: https://www.terraform.io/docs/configuration/modules.html#implicit-provider-inheritance

Is this considered an aliased provider? If so, this is very unfriendly DX :/

aequasi

comment created time in 2 months

issue openedhashicorp/terraform

Terraform 0.13 not implicitly passing provider configs for third-party providers properly

<!-- Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

If your issue relates to a specific Terraform provider, please open it in the provider's own repository. The index of providers is at https://github.com/terraform-providers . -->

Terraform Version

<!--- Run terraform version to show the version, and paste the result between the ``` marks below.

If you are not running the latest version of Terraform, please try upgrading because your issue may have already been fixed. -->

Terraform v0.13.0

Terraform Configuration Files

https://github.com/aequasi/terraform-13-custom-provider-test

<!-- Paste the relevant parts of your Terraform configuration between the ``` marks below.

For large Terraform configs, please use a service like Dropbox and share a link to the ZIP file. For security, you can also encrypt the files using our GPG public key. -->

Debug Output

<!-- Full debug output can be obtained by running Terraform with the environment variable TF_LOG=trace. Please create a GitHub Gist containing the debug output. Please do not paste the debug output in the issue, since debug output is long.

Debug output may contain sensitive information. Please review it before posting publicly, and if you are concerned feel free to encrypt the files using the HashiCorp security public key. -->

❯ TF_LOG=trace tfm init
2020/08/24 19:54:06 [INFO] Terraform version: 0.13.0  
2020/08/24 19:54:06 [INFO] Go runtime version: go1.14.2
2020/08/24 19:54:06 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init"}
2020/08/24 19:54:06 [DEBUG] Attempting to open CLI config file: /home/aaron/.terraformrc
2020/08/24 19:54:06 Loading CLI configuration from /home/aaron/.terraformrc
2020/08/24 19:54:06 [DEBUG] checking for credentials in "/home/aaron/.terraform.d/plugins"
2020/08/24 19:54:06 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2020/08/24 19:54:06 [DEBUG] will search for provider plugins in /home/aaron/.terraform.d/plugins
2020/08/24 19:54:06 [DEBUG] ignoring non-existing provider search directory /home/aaron/.local/share/terraform/plugins
2020/08/24 19:54:06 [DEBUG] ignoring non-existing provider search directory /usr/local/share/terraform/plugins
2020/08/24 19:54:06 [DEBUG] ignoring non-existing provider search directory /usr/share/terraform/plugins
2020/08/24 19:54:06 [DEBUG] ignoring non-existing provider search directory /var/lib/snapd/desktop/terraform/plugins
2020/08/24 19:54:06 [INFO] CLI command args: []string{"init"}
2020/08/24 19:54:06 [TRACE] ModuleInstaller: installing child modules for . into .terraform/modules
Initializing modules...
2020/08/24 19:54:06 [DEBUG] Module installer: begin _
2020/08/24 19:54:06 [TRACE] ModuleInstaller: Module installer: _ <nil> already installed in test
2020/08/24 19:54:06 [DEBUG] Module installer: begin _._
2020/08/24 19:54:06 [TRACE] ModuleInstaller: Module installer: _._ <nil> already installed in test/test
2020/08/24 19:54:06 [TRACE] modsdir: writing modules manifest to .terraform/modules/modules.json

Initializing the backend...
2020/08/24 19:54:06 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2020/08/24 19:54:06 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2020/08/24 19:54:06 [DEBUG] New state was assigned lineage "ea6df296-0437-caf5-02b3-704176a04224"
2020/08/24 19:54:06 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2020/08/24 19:54:06 [TRACE] Meta.Backend: instantiated backend of type <nil>
2020/08/24 19:54:06 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins
2020/08/24 19:54:06 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/aequasi/discord v0.0.2 for linux_amd64 at .terraform/plugins/registry.terraform.io/aequasi/discord/0.0.2/linux_amd64
2020/08/24 19:54:06 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/aequasi/discord/0.0.2/linux_amd64 as a candidate package for registry.terraform.io/aequasi/discord 0.0.2
2020/08/24 19:54:06 [DEBUG] checking for provisioner in "."
2020/08/24 19:54:06 [DEBUG] checking for provisioner in "/usr/local/bin"
2020/08/24 19:54:06 [DEBUG] checking for provisioner in "/home/aaron/.terraform.d/plugins"
2020/08/24 19:54:06 [DEBUG] found provisioner "terraform-provisioner-ansible_v2.1.0"
2020/08/24 19:54:06 [INFO] Failed to read plugin lock file .terraform/plugins/linux_amd64/lock.json: open .terraform/plugins/linux_amd64/lock.json: no such file or directory
2020/08/24 19:54:06 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2020/08/24 19:54:06 [TRACE] backend/local: state manager for workspace "default" will:
 - read initial snapshot from terraform.tfstate
 - write new snapshots to terraform.tfstate
 - create any backup at terraform.tfstate.backup
2020/08/24 19:54:06 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate
2020/08/24 19:54:06 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay

2020/08/24 19:54:06 [TRACE] statemgr.Filesystem: read nil snapshot
2020/08/24 19:54:06 [TRACE] providercache.fillMetaCache: scanning directory .terraform/plugins
Initializing provider plugins...
2020/08/24 19:54:06 [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/aequasi/discord v0.0.2 for linux_amd64 at .terraform/plugins/registry.terraform.io/aequasi/discord/0.0.2/linux_amd64
2020/08/24 19:54:06 [TRACE] providercache.fillMetaCache: including .terraform/plugins/registry.terraform.io/aequasi/discord/0.0.2/linux_amd64 as a candidate package for registry.terraform.io/aequasi/discord 0.0.2
2020/08/24 19:54:06 [DEBUG] Service discovery for registry.terraform.io at https://registry.terraform.io/.well-known/terraform.json
2020/08/24 19:54:06 [TRACE] HTTP client GET request to https://registry.terraform.io/.well-known/terraform.json
- Using previously-installed aequasi/discord v0.0.2
- Finding latest version of hashicorp/discord...
2020/08/24 19:54:06 [DEBUG] GET https://registry.terraform.io/v1/providers/hashicorp/discord/versions
2020/08/24 19:54:06 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/hashicorp/discord/versions
2020/08/24 19:54:06 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/plugins
2020/08/24 19:54:06 [DEBUG] GET https://registry.terraform.io/v1/providers/-/discord/versions
2020/08/24 19:54:06 [TRACE] HTTP client GET request to https://registry.terraform.io/v1/providers/-/discord/versions

Error: Failed to install provider

Error while installing hashicorp/discord: provider registry
registry.terraform.io does not have a provider named
registry.terraform.io/hashicorp/discord

Crash Output

<!-- If the console output indicates that Terraform crashed, please share a link to a GitHub Gist containing the output of the crash.log file. -->

None

Expected Behavior

<!-- What should have happened? -->

Terraform should only attempt to install aequasi/discord

Actual Behavior

<!-- What actually happened? -->

Terraform downloads aequasi/discord for the top-level module, and then attempts to install hashicorp/discord for the child modules

Steps to Reproduce

<!-- Please list the full steps required to reproduce the issue, for example:

  1. terraform init
  2. terraform apply -->

clone the above repo, and run terraform init

Additional Context

<!-- Are there anything atypical about your situation that we should know? For example: is Terraform running in a wrapper script or in a CI system? Are you passing any unusual command line options or environment variables to opt-in to non-default behavior? -->

References

<!-- Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:

  • #6017

-->

created time in 2 months

create barnchaequasi/terraform-13-custom-provider-test

branch : master

created branch time in 2 months

created repositoryaequasi/terraform-13-custom-provider-test

created time in 2 months

created tagaequasi/terraform-provider-discord

tagv0.0.2

Discord Provider for Terraform

created time in 2 months

release aequasi/terraform-provider-discord

v0.0.2

released time in 2 months

push eventaequasi/terraform-provider-discord

Aaron Scherer

commit sha 47fb03f36fc36e6ff95ffe0e67d40a5f8e4beeea

Adding signs

view details

push time in 2 months

created tagaequasi/terraform-provider-discord

tagv0.0.1

Discord Provider for Terraform

created time in 2 months

release aequasi/terraform-provider-discord

v0.0.1

released time in 2 months

push eventaequasi/terraform-provider-discord

Aaron Scherer

commit sha dc96674e9c148a51ccdb2f9d9c6f6e1e2cb667c7

Removing sign

view details

push time in 2 months

push eventaequasi/terraform-provider-discord

Aaron Scherer

commit sha 619de6ee243691e9b27c76be6760ccd9fd00a20b

Adding gitignore

view details

push time in 2 months

more