Closed gusmb closed 7 months ago
@rohit-myali, Looks similar to https://github.com/netscaler/ansible-collection-netscaleradc/pull/333/files Please check.
Ok so what I've noticed by running a few terraform tests is that the issue seems to be only when deviation = 0. In that case, it might be that terraform omits this as it has the default value and then complains about a missing value? When I configure deviation set to any other value, Terraform works as expected (I have also tried with values > 60)
Hello @gusmb Thanks for raising the issue. I will work on this and update you as soon as we release it to terraform registry.
Hey @gusmb We have released this and it is now available in the terraform registry. Please download the latest terraform-provider-citrixadc version v1.38.0.
Contact us
Bug Report
Given the following configuration example for lbmonitor:
Terraform validate and plan work correctly, but when I try to apply I get the error:
The error suggests that units argument is a pre-req of deviation, but units is not a valid argument according to the docs: https://registry.terraform.io/providers/citrix/citrixadc/latest/docs/resources/lbmonitor Instead, I provided units1, units2, units3 and units4.
To Reproduce Steps to reproduce the behaviour:
My terraform files are (See above)
which terraform command I am getting the error
Terraform output logs to the log file (./tf.log). Append
TF_LOG=TRACE NS_LOG=TRACE TF_LOG_PATH=./tf.log
to your terraform command (See above)Error I am facing on the console (See above)
Expected behaviour I would expect the resource to be properly applied as the units1 parameter is specified as an argument dependency of "deviation"
Screenshots See above
Environment (please fill the following information):
go version
1.21.3