Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Error while trying to add support for community provider #18

Open
VictorGFM opened this issue Dec 21, 2021 · 0 comments
Open

Error while trying to add support for community provider #18

VictorGFM opened this issue Dec 21, 2021 · 0 comments

Comments

@VictorGFM
Copy link

I've been trying to update this repo to provide support for Cyral provider, but I'm running into some errors right when I try to run make in the schema-extractor directory (this is also related to a similar issue #17), so I assume that the script may be broken, at least for some environments.

Currently, I'm trying to run the script in a Ubuntu system doing the following:

  1. Ensure that the $GOPATH is set.
  2. Type make inside the ~/.terraform.d/metadata-repo/schemas-extractor directory.

Actual:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10083  100 10083    0     0  44813      0 --:--:-- --:--:-- --:--:-- 44813
make: *** [GNUmakefile:16: providers.registry.json] Error 6

Expected:
Being able to run the scripts and generate a schema for the Cyral provider.

Since the project doesn't support the official schema.json generated by using terraform providers schema -json, I'm forced to use the schema in the format generated by the schema-extractor script, but with these errors showing up while I'm trying to run it, I'm unable to do so. Would be very helpful if this could be fixed or/and the Cyral provider could be supported by the plugin, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant