A Terraform provider for VMware NSX.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docker
scripts
vendor
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Dockerfile
GNUmakefile
Jenkinsfile
LICENSE
README.md
VERSION
config.go
docker-compose.yml
main.go
provider.go
provider_test.go
resource_dhcp_relay.go
resource_dhcp_relay_test.go
resource_edge_interface.go
resource_edge_interface_test.go
resource_firewall_exclusion.go
resource_logical_switch.go
resource_logical_switch_test.go
resource_security_group.go
resource_security_policy.go
resource_security_policy_rules.go
resource_security_tag.go
resource_security_tag_attachment.go
resource_service.go

README.md

Terraform-Provider-NSX

A Terraform provider for VMware NSX. The NSX provider is used to interact with resources supported by VMware NSX. The provider needs to be configured with the proper credentials before it can be used.

Wiki Pages

Features

Feature Create Read Update Delete
DHCP Relay Y Y Y Y
Edge Interface Y Y N Y
Logical Switch Y Y Y Y
Security Group Y Y Y Y
Security Policy Y Y Y Y
Security Policy Rules Y Y Y Y
Security Tag Y Y Y Y
Security Tag Attachment Y Y Y Y
Service Y Y Y Y
Firewall Exclusion Y Y N Y

Limitations

  • Security-tag resource requires vsphere-provider with moid parameter implemented. (branch not yet pushed to upstream). Docker image link with already built vsphere-provider available in getting started link above. - This issue was actually solved on terraform v0.9.6 - pull request here (https://github.com/hashicorp/terraform/pull/14793)

  • At the moment only a very limited number of vSphere NSX resources have been implemented. These resources also have the basic attributes implemented, look at wiki link above to find more details about each of these resources.

Resources to consider

  • Transport Zones
  • Distributed Switch
  • Distributed Firewall (L2 / L3 rules)
  • Edge Device Nat config and rules
  • Edge Device Routing config