Skip to content

Commit

Permalink
Added the lb example for the doc
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro J. Nuñez Madrazo <alejandrojnm@gmail.com>
  • Loading branch information
alejandrojnm committed Feb 28, 2022
1 parent 8104f1b commit a06a034
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/data-sources/civo_loadbalancer/data-source.tf
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# TODO
data civo_loadbalancer "my-lb" {
#id = "c385638f-6bb7-4d74-840c-4d98f3d15082" // Optional
name = "lb-name"
}

output "civo_loadbalancer_output" {
value = data.civo_loadbalancer.my-lb.public_ip
}

0 comments on commit a06a034

Please sign in to comment.