-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Weight and state not pulled correctly in terraform state, device updates don't show #1134
Comments
Hello @gusmb I'm able to reproduce the error for Can you give me steps to reproduce.? |
I think the issue was that I wasn't explicitely specifying the |
resource "citrixadc_servicegroup_lbmonitor_binding" "sample-https-pool-443-sample-monitor-http-s1" {
provider = citrixadc.PARTITION1
servicegroupname = "SVG_SAMPLE_443_1"
monitorname = "M_S1_443_HTTP"
weight = 1
monstate = "ENABLED"
depends_on = [citrixadc_servicegroup.sample-https-pool-443, citrixadc_lbmonitor.sample-monitor-http-s1]
} |
Hello @gusmb |
Terraform Core Version
1.7.5
citrixadc Provider Version
1.37.0
Operating system
RHEL7
Affected Resource(s)
Equivalent NetScaler CLI Command
bind servicegroup s1 -monitorName tcp -weight 100
Expected Behavior
after running a
terraform plan
command, the monitor weight should be restored to the intended value declared in the Terraform manifest (since it is not an updateable attribute, Terraform plan should result on a resource being destroyed and re-created)Actual Behavior
Terraform plan shows no changes required to the infrastructure, even though a monitor binding weight has been manually changed in the Netscaler
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Example resources:
Steps to Reproduce
terraform state pull
orterraform plan
state
parameter of thecitrixadc_servicegroup_lbmonitor_binding
resourceDebug Output
N/A
Panic Output
N/A
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: