Skip to content

Commit

Permalink
Adding profiles documentation for virtual server resource for #11
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Burnett committed May 31, 2016
1 parent f57aba0 commit a28efc0
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,21 @@ Configures a Virtual Server
### Example

```
resource "bigip_ltm_virtual_server" "vs" {
resource "bigip_ltm_virtual_server" "http" {
name = "/Common/terraform_vs_http"
destination = "10.12.12.12"
port = 80
pool = "${bigip_ltm_pool.pool.name}"
pool = "/Common/the-default-pool"
}
# A Virtual server with SSL enabled
resource "bigip_ltm_virtual_server" "https" {
name = "/Common/terraform_vs_https"
destination = "${var.vip_ip}"
port = 443
pool = "${var.pool}"
profiles = ["/Common/tcp","/Common/my-awesome-ssl-cert","/Common/http"]
source_address_translation = "automap"
}
```

Expand All @@ -167,6 +177,8 @@ resource "bigip_ltm_virtual_server" "vs" {

`ip_protocol` - (Optional) Specify the IP protocol to use with the the virtual server (all, tcp, or udp are valid)

`profiles` - (Optional) List of all profiles associated with the virtual server. This includes protocol, ssl, http, etc.

## bigip_ltm_irule

Creates iRules
Expand Down

0 comments on commit a28efc0

Please sign in to comment.