diff --git a/docs/resources/bigip_ltm_policy.md b/docs/resources/bigip_ltm_policy.md index 16bf60a48..3b1c134da 100644 --- a/docs/resources/bigip_ltm_policy.md +++ b/docs/resources/bigip_ltm_policy.md @@ -17,20 +17,16 @@ For resources should be named with their "full path". The full path is the combi ```hcl - resource "bigip_ltm_policy" "test-policy" { - name = "my_policy" - strategy = "first-match" - requires = ["http"] - published_copy = "Drafts/my_policy" - controls = ["forwarding"] + name = "test-policy" + strategy = "/Common/first-match" + requires = ["http"] + controls = ["forwarding"] rule { name = "rule6" - action { - tm_name = "20" forward = true - pool = "/Common/mypool" + pool = bigip_ltm_pool.pool.name } } depends_on = [bigip_ltm_pool.mypool] diff --git a/website/docs/r/bigip_ltm_policy.html.markdown b/website/docs/r/bigip_ltm_policy.html.markdown index 16bf60a48..e2cdf6f2d 100644 --- a/website/docs/r/bigip_ltm_policy.html.markdown +++ b/website/docs/r/bigip_ltm_policy.html.markdown @@ -19,18 +19,15 @@ For resources should be named with their "full path". The full path is the combi ```hcl resource "bigip_ltm_policy" "test-policy" { - name = "my_policy" - strategy = "first-match" - requires = ["http"] - published_copy = "Drafts/my_policy" - controls = ["forwarding"] + name = "test-policy" + strategy = "/Common/first-match" + requires = ["http"] + controls = ["forwarding"] rule { name = "rule6" - action { - tm_name = "20" forward = true - pool = "/Common/mypool" + pool = bigip_ltm_pool.pool.name } } depends_on = [bigip_ltm_pool.mypool]