Skip to content

Commit 8dc6d6b

Browse files
committed
doc channges
1 parent c7d4ce3 commit 8dc6d6b

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

website/docs/r/bigip_ltm_pool_attachment.html.markdown

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: |-
1616
There are two ways to use ltm_pool_attachment resource, where we can take node reference from ltm_node or we can specify node directly with ip:port/fqdn:port which will also create node and atach to pool.
1717

1818

19-
Pool attachment with node reference from ltm_node
19+
Pool attachment with node directly taking ip:port/fqdn:port
2020

2121
```hcl
2222
resource "bigip_ltm_monitor" "monitor" {
@@ -34,20 +34,14 @@ resource "bigip_ltm_pool" "pool" {
3434
allow_nat = "yes"
3535
}
3636
37-
resource "bigip_ltm_node" "node" {
38-
name = "/Common/terraform_node"
39-
address = "192.168.30.2"
40-
}
41-
4237
resource "bigip_ltm_pool_attachment" "attach_node" {
43-
pool = bigip_ltm_pool.pool.name
44-
node = "${bigip_ltm_node.node.name}:80"
38+
pool = bigip_ltm_pool.pool.name
39+
node = "1.1.1.1:80"
4540
}
46-
```
47-
4841
49-
Pool attachment with node directly taking ip:port/fqdn:port
42+
```
5043

44+
Pool attachment with node reference from ltm_node ( This will be depreceated in future releases )
5145

5246
```hcl
5347
resource "bigip_ltm_monitor" "monitor" {
@@ -65,12 +59,16 @@ resource "bigip_ltm_pool" "pool" {
6559
allow_nat = "yes"
6660
}
6761
68-
resource "bigip_ltm_pool_attachment" "attach_node" {
69-
pool = bigip_ltm_pool.pool.name
70-
node = "1.1.1.1:80"
62+
resource "bigip_ltm_node" "node" {
63+
name = "/Common/terraform_node"
64+
address = "192.168.30.2"
7165
}
7266
73-
```
67+
resource "bigip_ltm_pool_attachment" "attach_node" {
68+
pool = bigip_ltm_pool.pool.name
69+
node = "${bigip_ltm_node.node.name}:80"
70+
}
71+
```
7472

7573
## Argument Reference
7674

0 commit comments

Comments
 (0)