-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to have more detailed examples of file structures during the upload process! #364
Comments
Hey, indeed Tapir was not able to handle nested modules properly. I addressed this in #365 and also added now more details for the expected module structure (althought, the recommended layout is a should) However, the .tf files should be at the root level within the .zip file :) see |
While the logs indicate everything worked well, there is an issue with the report index mapping in ES. So you can either
|
I checked the index and it is normal. Files I uploaded: |
Thanks, again! Fix is on the way. I'll create a release today later |
I think there was a leftover from a bigger refactoring, i fixed it and it will be available in latest soon. A release will also follow soonish! Thanks again, i use Tapir with s3 hence i did not recognize this faux pas |
Thank you very much, the module management problem has been solved. |
When uploading the provider, we already know that we need to prepare the .zip file containing all the files described in the 'how to prepare release' documentation. However, when uploading the module, it seems that the documentation does not explicitly specify how the directory structure should be maintained for the upload. I tried uploading the downloaded module and encountered the following error.
1、
error:
My directory structure is:
command use:
curl -XPOST -H 'x-api-key:eNsZxQ1vQsY0QqEGgWMHXsKE' --fail-with-body -F archive=@terraform-aws-iam-0.0.2.zip "https://example.com/terraform/modules/v1/fc/vpc/aws/0.0.2"
2、
error:
My directory structure is:
command use:
curl -XPOST -H 'x-api-key:eNsZxQ1vQsY0QqEGgWMHXsKE' --fail-with-body -F archive=@Archiv.zip "https://example.com/terraform/modules/v1/fc/vpc/aws/0.0.2"
The text was updated successfully, but these errors were encountered: