dfw-nia-module

kalenarndt/dfw-nia-module/nsxt

Terraform Module HCL NSXT

NSX-T Consul-Terraform-Sync module that will create Distributed Firewall rules within the environment

Install
module "dfw-nia-module" {
source = "kalenarndt/dfw-nia-module/nsxt"
version = "0.0.2"
}
plain text: /constructs/tfmod-kalenarndt-dfw-nia-module-nsxt/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-nsxt-dfw-nia-module This module is specifically designed to be used with Consul-Terraform-Sync. --- This module will dynamically create the following objects based on the health of a service or multiple services within a task - Custom Service (currently limited to TCP) within NSX-T. This is based on the registered port within the Consul Catalog - Tags and Scopes - Policy Group based on Tag and Scope (Limited to 1 tag due to a constraint with the provider and the OR selector) - Distributed Firewall Section per task - 1 Rule per Service - 1 Allow rule per section that applies only to the services that are created. Can be overridden --- Limitations - 1 rule per service definition from Consul - 1 tag from the service in Consul and the name of the service is always the scope - Service

Inputs (3)
NameTypeDescriptionDefault
servicesmap( object({ id Consul services monitored by Consul Terraform Sync required
cts_prefixstring(Optional) Prefix that will be applied to all objects created via Consul-Terrafo"cts-"
default_actionstringDefault action for the rule at the bottom of the section created by Consul-Terra"ALLOW"
Resources (4)
nsxt_policy_groupnsxt_policy_security_policynsxt_policy_servicensxt_policy_vm_tags
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.2
Cloud NSXT
Total downloads1.4k
Inputs3
Resources4
Namespacekalenarndt
Updated