terraform-provider-citrixadc
terraform-provider-citrixadc copied to clipboard
Issue: Optional arguments in "citrixadc_nsip" are non-optional
I want to set the NSIP of my ADC to only allow secure (https) connections to the GUI. The "ipaddress" and "netmask" arguments are listed as optional.
This works: resource "citrixadc_nsip" "tf_nsip" { ipaddress = "192.168.9.10" netmask = "255.255.0.0" gui = "SECUREONLY" }
This fails: resource "citrixadc_nsip" "tf_nsip" { gui = "SECUREONLY" }
The errors produced are: │ Error: [ERROR] nitro-go: Failed to create resource of type nsip, name=tf-nsip-20220720111243324700000002, err=failed: 400 Bad Request ({ "errorcode": 1110, "message": "Invalid IP address [tf-nsip-20220720111243324700000002]", "severity": "ERROR" }) │ Error: [ERROR] nitro-go: Failed to create resource of type nsip, name=192.168.9.10, err=failed: 400 Bad Request ({ "errorcode": 1095, "message": "Required argument missing [netmask]", "severity": "ERROR" })
Hello @stevenwright1, Thanks for the input...! We have fixed this and it will be released in our next release Soon..!! Thanks..!
Hello @stevenwright1, We have updated the documentation and fixed the required attributes. Please find the documentation here
Thanks.!