Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Resource]: Add cloudavenue_edgegateway_ipsec_vpn_tunnel #352

Closed
dmicheneau opened this issue Jun 28, 2023 · 0 comments · Fixed by #474
Closed

[New Resource]: Add cloudavenue_edgegateway_ipsec_vpn_tunnel #352

dmicheneau opened this issue Jun 28, 2023 · 0 comments · Fixed by #474

Comments

@dmicheneau
Copy link
Member

dmicheneau commented Jun 28, 2023

Description

Provides a resource to manage NSX-T IPsec VPN Tunnel. You can configure site-to-site connectivity between an NSX-T Data Center Edge Gateway and remote sites. The remote sites must use NSX-T Data Center, have third-party hardware routers, or VPN gateways that support IPSec.

Requested Resource(s) and/or Data Source(s)

  • cloudavenue_edgegateway_ipsec_tunnel

Potential Terraform Configuration

data "vcd_nsxt_edgegateway" "main" {
   name = "tn01e02ocb0006205spt103"
 }

resource "vcd_nsxt_ipsec_vpn_tunnel" "tunnel1" {

  edge_gateway_id = data.vcd_nsxt_edgegateway.main.id

  name        = "First"
  description = "testing tunnel"

  pre_shared_key = "my-presharaed-key"
  # Primary IP address of Edge Gateway pulled from data source
  local_ip_address = tolist(data.vcd_nsxt_edgegateway.main.subnet)[0].primary_ip
  local_networks   = ["10.10.10.0/24", "30.30.30.0/28", "40.40.40.1/32"]
  # That is a fake remote IP address
  remote_ip_address = "1.2.3.4"
  remote_networks   = ["192.168.1.0/24", "192.168.10.0/24", "192.168.20.0/28"]
}

References

https://registry.terraform.io/providers/vmware/vcd/latest/docs/resources/nsxt_ipsec_vpn_tunnel

Would you like to implement a fix?

None

@azrod azrod changed the title [New]: Add cloudavenue_edgegateway_ipsec_vpn_tunnel [New Resource]: Add cloudavenue_edgegateway_ipsec_vpn_tunnel Jul 4, 2023
@dmicheneau dmicheneau self-assigned this Aug 2, 2023
@azrod azrod added this to the v0.9.0 milestone Aug 3, 2023
@dmicheneau dmicheneau linked a pull request Aug 4, 2023 that will close this issue
3 tasks
@azrod azrod modified the milestones: v0.9.0, v0.10.0 Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants