Skip to content
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

Init module that has no release and it's not published in the modules-version-board #102

Closed
arthurbdiniz opened this issue Nov 10, 2020 · 0 comments · Fixed by #103
Closed
Assignees
Labels

Comments

@arthurbdiniz
Copy link
Contributor

Found a bug? Please fill out the sections below. 👍

Issue Summary

A summary of the issue.

Steps to Reproduce the Problem

  1. Create a new terraform module
  2. Publish module to Github
  3. Import module using git::https://github.com/DNXLabs/...
  4. Run one terraform init

Logs

Initializing DNX modules check...
- terraform-aws-eks-node-termination-handler/alb_ingress: 0.1.0
Traceback (most recent call last):
  File "/home/arthurbdiniz/.local/bin/one", line 33, in <module>
    sys.exit(load_entry_point('one-cli', 'console_scripts', 'one')())
  File "/home/arthurbdiniz/Documents/dnx/one/one-cli/one/__main__.py", line 5, in main
    cli()
  File "/home/arthurbdiniz/.local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/arthurbdiniz/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/arthurbdiniz/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/arthurbdiniz/.local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/arthurbdiniz/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/arthurbdiniz/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/arthurbdiniz/Documents/dnx/one/one-cli/one/commands/terraform.py", line 47, in init
    terraform_modules_check()
  File "/home/arthurbdiniz/Documents/dnx/one/one-cli/one/utils/terraform_modules.py", line 31, in terraform_modules_check
    version = module['Source'].split('=')[1]
IndexError: list index out of range

Specifications

  • Version: 0.6.7
  • Platform: Linux
  • Installation method: PyPI
@arthurbdiniz arthurbdiniz self-assigned this Nov 10, 2020
arthurbdiniz added a commit that referenced this issue Nov 10, 2020
Closes: #102

Signed-off-by: Arthur Diniz <arthurbdiniz@gmail.com>
arthurbdiniz added a commit that referenced this issue Nov 10, 2020
Closes: #102

Signed-off-by: Arthur Diniz <arthurbdiniz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant