Skip to content

Commit

Permalink
Use gateway path in IPSec VPN service
Browse files Browse the repository at this point in the history
Instead of using deprecated locale_service_path attribute.

Signed-off-by: Kobi Samoray <[email protected]>
  • Loading branch information
ksamoray committed Feb 12, 2024
1 parent fa112e4 commit d2ed922
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions website/docs/r/policy_ipsec_vpn_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ This resource is applicable to NSX Policy Manager.

```hcl
resource "nsxt_policy_ipsec_vpn_service" "test" {
display_name = "ipsec-vpn-service1"
description = "Terraform provisioned IPSec VPN service"
locale_service_path = data.nsxt_policy_gateway_locale_service.test.path
enabled = true
ha_sync = true
ike_log_level = "INFO"
display_name = "ipsec-vpn-service1"
description = "Terraform provisioned IPSec VPN service"
gateway_path = data.nsxt_policy_tier0_gateway.gw1.path
enabled = true
ha_sync = true
ike_log_level = "INFO"
bypass_rule {
sources = ["192.168.10.0/24"]
destinations = ["192.169.10.0/24"]
Expand Down

0 comments on commit d2ed922

Please sign in to comment.