Skip to content

Commit ad3870b

Browse files
authored
Revise README (#90)
1 parent f43b740 commit ad3870b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ For more details on the API, see [tflint](https://pkg.go.dev/github.com/terrafor
2121

2222
## Architecture
2323

24+
![architecture](architecture.png)
25+
2426
This plugin system uses [go-plugin](https://github.com/hashicorp/go-plugin). TFLint launches the plugin as a sub-process and communicates with the plugin over RPC. The plugin acts as a server, while TFLint acts as a client that sends inspection requests to the plugin.
2527

2628
On the other hand, the plugin sends various requests to a server (TFLint) to get detailed runtime contexts (e.g. variables and expressions). This means that TFLint and plugins can act as both a server and a client.

architecture.png

33.3 KB
Loading

0 commit comments

Comments
 (0)