terraform-provider-citrixadc icon indicating copy to clipboard operation
terraform-provider-citrixadc copied to clipboard

Issue: Optional arguments in "citrixadc_nsip" are non-optional

Open stevenwright1 opened this issue 2 years ago • 2 comments

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" })

stevenwright1 avatar Jul 20 '22 11:07 stevenwright1

Hello @stevenwright1, Thanks for the input...! We have fixed this and it will be released in our next release Soon..!! Thanks..!

rohit-myali avatar Aug 23 '22 03:08 rohit-myali

Hello @stevenwright1, We have updated the documentation and fixed the required attributes. Please find the documentation here

Thanks.!

rohit-myali avatar Sep 16 '22 04:09 rohit-myali