Live data from Hacker News

Draw.io and Terraform = Brainboard, Graphical Way to Do Terraform

brainboard.co

11–20 of 46 posts

Re: Draw.io and Terraform = Brainboard, Graphical Way to Do Terraform

#12
The idea is fantastic but I am very skeptical how this would handle state drift and larger projects.

Anyways, being able to visualize infrastructure this way is pretty great. Currently, the way it usually works is to draw the infra and then manually write the tf resources. This seems like it would simplify the process greatly since one could genereate the IAC directly from the diagrams. Pretty neat (if it works well).

Re: Draw.io and Terraform = Brainboard, Graphical Way to Do Terraform

#13
post #12

The idea is fantastic but I am very skeptical how this would handle state drift and larger projects. Anyways, being able to visualize infrastructure this way is pretty great. Currently, the way it usually works is to draw the infra and then manually write the tf resources. This seems like it would simplify the process greatly since one could genereate the IAC directly from the diagrams. Pretty neat (if it works well)…

Very nice question about the state drift, we are working on it in a way to have a live sync with the existing infra and either suggest a remediation or generate an alarm. We are working hard to make it work well and at the current stage (full support for GCP, Azure & AWS) we are having an amazing results.

Re: Draw.io and Terraform = Brainboard, Graphical Way to Do Terraform

#14
I recently gave a tech talk internally about Terraform. I wanted to show how quickly a web service can get complicated by showing the SVG generated from `terraform graph` output.

It failed miserably:

$ tf graph|dot -Tpng > graph.png

dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.420618 to fit

Trying to upload the genrated image to Google Slides and the error message: The image is too large. Images must be smaller than 25 megapixels.

$ tf state list|cut -d. -f3|grep ^google_|sort|uniq|wc -l

42 I'm very skeptical this config can be managed using a WYSIWYG tool.

Re: Draw.io and Terraform = Brainboard, Graphical Way to Do Terraform

#15
post #14

I recently gave a tech talk internally about Terraform. I wanted to show how quickly a web service can get complicated by showing the SVG generated from `terraform graph` output. It failed miserably: $ tf graph|dot -Tpng > graph.png dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.420618 to fit Trying to upload the genrated image to Google Slides and the error message: The image is too large. Images m…

The best way to verify that is to test it on Brainboard, I'm excited to know the results. We can do it together if you want, lemme know if you are interested.

Re: Draw.io and Terraform = Brainboard, Graphical Way to Do Terraform

#18

Does it have Terraform Enterprise and Sentinel support?

Not yet.

OK. Specific Sentinel integration might be optional (or not even possible), not too sure. But the only way we'd be compliant with the Sentinel policies is if I can use the pre-designed modules in TFE.

Re: Draw.io and Terraform = Brainboard, Graphical Way to Do Terraform

#19

Earlier quoted context omitted.

Not yet.

OK. Specific Sentinel integration might be optional (or not even possible), not too sure. But the only way we'd be compliant with the Sentinel policies is if I can use the pre-designed modules in TFE.

Terraform modules are within our roadmap, for now we have the market-place where you can design template architectures that contain your own rules and policies that you can distribute within your organization or team(s), you can make them public if you want as well.

Re: Draw.io and Terraform = Brainboard, Graphical Way to Do Terraform

#20
post #14

I recently gave a tech talk internally about Terraform. I wanted to show how quickly a web service can get complicated by showing the SVG generated from `terraform graph` output. It failed miserably: $ tf graph|dot -Tpng > graph.png dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.420618 to fit Trying to upload the genrated image to Google Slides and the error message: The image is too large. Images m…

Wonder if it'd be more achievable if the product natively understood TF modules? So you tend not to describe or view direct AWS resources, but slightly higher level concepts your eng team uses - then you only see the actual resources if you "zoom in" to a lower level scope
Post reply on HN