Skip to content

Commit 9d5df28

Browse files
Add output example
1 parent c5d2b32 commit 9d5df28

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,28 @@ module "nodes" {
134134
os_img_url = "file:///home/myuser/ubuntu-20.04-server-cloudimg-amd64.img"
135135
}
136136
137-
output "ip_addresses" {
137+
output "outputs" {
138138
value = module.nodes
139139
}
140140
```
141141

142+
## Module output example
143+
144+
```json
145+
output_data = {
146+
"ip_address" = [
147+
"192.168.165.151",
148+
"192.168.165.152",
149+
"192.168.165.152",
150+
]
151+
"name" = [
152+
"server01",
153+
"server02",
154+
"server03",
155+
]
156+
}
157+
```
158+
142159
## License
143160

144161
MIT

0 commit comments

Comments
 (0)