Closed kevinmarino closed 6 months ago
1.8.1
1.39.0
Windows
resource "citrixadc_nspbr" "tf_nspbr"
add ns pbr Mgmt-NSIP ALLOW -srcIP = 10.10.10.10 -destIP = 0.0.0.0-* -nextHop 10.10.10.10 -priority 10 -kernelstate SFAPPLIED61
A policy based route rule created
Because the values are type = bool you can't enter in any ip related information
Inappropriate value for attribute "destip": a bool is required.
resource "citrixadc_nspbr" "tf_nspbr" { name = "Mgmt-NSIP" action = "ALLOW" srcip = var.mgmt_interface_ip destip = "0.0.0.0-255.255.255.255" nexthop = var.mgmt_interface_ip }
Attempt to create a pbr resource
No response
You can close this issue - The documentation wasn't clear that you define the srcip as "true" and then configure srcipval with the ip.
Terraform Core Version
1.8.1
citrixadc Provider Version
1.39.0
Operating system
Windows
Affected Resource(s)
resource "citrixadc_nspbr" "tf_nspbr"
Equivalent NetScaler CLI Command
add ns pbr Mgmt-NSIP ALLOW -srcIP = 10.10.10.10 -destIP = 0.0.0.0-* -nextHop 10.10.10.10 -priority 10 -kernelstate SFAPPLIED61
Expected Behavior
A policy based route rule created
Actual Behavior
Because the values are type = bool you can't enter in any ip related information
Relevant Error/Panic Output Snippet
Terraform Configuration Files
resource "citrixadc_nspbr" "tf_nspbr" { name = "Mgmt-NSIP" action = "ALLOW" srcip = var.mgmt_interface_ip destip = "0.0.0.0-255.255.255.255" nexthop = var.mgmt_interface_ip }
Steps to Reproduce
Attempt to create a pbr resource
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response