Giter Site home page Giter Site logo

Comments (12)

PePoDev avatar PePoDev commented on June 1, 2024 10

Closed.
I found alternative to visual infrastructure from Terraform.

https://github.com/cycloidio/inframap
https://github.com/pcasteran/terraform-graph-beautifier

from blast-radius.

leriksen avatar leriksen commented on June 1, 2024 9

I got it to render a graph by changing the regex as well, in blastradius/handlers/dot.py to be

m = re.match(r'(\[root\]\s+)*(?P<module>\S+)\.(?P<type>\S+)[. ]\S+', label)

Not the [. ] after the capture for the <type> group. The offending label that was crashing for me was

[root] module.kv (close)

This character class handles a . or a \s after a module type

I'll submit a PR maybe by the weekend

from blast-radius.

justinTM avatar justinTM commented on June 1, 2024 2

@28mm

from blast-radius.

pinpox avatar pinpox commented on June 1, 2024

Same issue here, did you get it to work?

from blast-radius.

bonzofenix avatar bonzofenix commented on June 1, 2024

+1

from blast-radius.

vibhuyadav avatar vibhuyadav commented on June 1, 2024

+1

from blast-radius.

pierreyvesv avatar pierreyvesv commented on June 1, 2024

same with
Terraform 0.13.4
OS windows WSL ubuntu 18.04
Install via pip3
Python 3.6.9
BlastRadius version (0.1.23)

from blast-radius.

lllama avatar lllama commented on June 1, 2024

I was able to "fix" this by changing the regex to be r"(\[root\]\s+)*(?P<module>[^.]+)\.(?P<type>\S+)(\.\S+)?". I still haven't got it to generate a graph but I think that's my impatience at the moment.

from blast-radius.

szEvEz avatar szEvEz commented on June 1, 2024

Anyone got this one working?

from blast-radius.

erSitzt avatar erSitzt commented on June 1, 2024

Same here...
Installed with pip3
Terraform v0.14.5
Python 3.6.7
WSL with Ubuntu 18.04
BlastRadius 0.1.23

from blast-radius.

edvinas-maciulis avatar edvinas-maciulis commented on June 1, 2024

+1

from blast-radius.

edvinas-maciulis avatar edvinas-maciulis commented on June 1, 2024

Thanks @leriksen, also I ended up finding this one - https://github.com/kmussel/blast-radius/. It has some updates and fixes that made it work. There are more commits that may be beneficial to bring back in.

from blast-radius.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.