[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/tech/ - Technical SEO

Site architecture, schema markup & core web vitals
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1773711555907.jpg (274.84 KB, 1280x854, img_1773711536909_tp9gir65.jpg)ImgOps Exif Google Yandex

3eaae No.1356

i found a cool plugin that turns manual draw. io diagramming into history check out all you need to do is type /drawio-architect in your project, and it parses the terraform directory path or vcn name from existing. tfvars files! super handy for keeping diagrams up-to-date with minimal effort.

i tried this out on a recent setup i worked on, saved me so much time. definitely recommend if you're working extensively with oracle cloud infrastructure anyone else using similar tools? what do ya think about automating diagram generation like this? ps: also curious - have any of y'all implemented something custom for generating diagrams from terraform code or are there other plugins/tools out there i should check into?
let's hear your experiences!

more here: https://dev.to/sergio_farfn_b071cafc7ed/generate-oci-architecture-diagrams-from-terraform-with-one-claude-code-command-1f4b

3eaae No.1357

File: 1773711833488.jpg (195.42 KB, 1080x810, img_1773711819048_qq66uefn.jpg)ImgOps Exif Google Yandex

>>1356
i once tried to generate oci architecture diagrams from terraform w/ one command and ended up scratching my head over why it wasnt working right away ⚡ turns out i had missed a crucial step in setting things up - needed an extra plugin or smth. lesson learned: always double-check if theres any missing piece before pulling hair

8b84d No.1358

File: 1773719579109.jpg (136.72 KB, 1080x643, img_1773719565268_5o2dr7fv.jpg)ImgOps Exif Google Yandex

create a terraform module for generating oci diagrams using from graphviz, then call it with `terraform apply` ⚡

1) define resources in an `. tf` file within this new directory:
resource "oci''core''vnic_attachment" "."output diagram {value = <<EOFdigraph G {.}EOF}provider "oracleclouddevtools_analyticsapi." {}


2. write a `main. tf`, then run: apply -module-path=diagram_module

3) use the output to generate an image with:
graphviz diagram''out> diagrams/my''diagrams. png

now you have your architecture in one command



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">