Skip to content
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]: Removing the redirectfromport attribute of a lbvserver doesn't remove it from the NetScaler configuration #1183

Open
joachimBurket opened this issue Jul 18, 2024 · 1 comment
Labels

Comments

@joachimBurket
Copy link

joachimBurket commented Jul 18, 2024

Terraform Core Version

1.7.2

citrixadc Provider Version

1.39.0

Operating system

RHEL9

Affected Resource(s)

  • citrixadc_lbvserver

Equivalent NetScaler CLI Command

unset lb vserver lb_vs_https -redirectFromPort

Expected Behavior

When removing the redirectfromport from the citrixadc_lbvserver resource, the attribute should be removed from the lbvserver in the NetScaler.

Actual Behavior

The attribute redirectfromport isn't removed from the config in the NetScaler

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

resource "citrixadc_lbvserver" "my_https" {
  name        = "lb_vs_https"
  ipv46       = "10.0.0.5"
  port        = 443
  servicetype = "SSL"
  redirectfromport = 80
  sslcertkey  = citrixadc_sslcertkey.my_https.certkey
}

Steps to Reproduce

  • Create a citrixadc_lbvserver and set the redirectfromport attribute.
  • Check in NetScaler configuration that the attribute is set
  • Then, remove the redirectfromport from the terraform resource
  • Check in the NetScaler configuration the attribute

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

@Cesar-EF
Copy link

Cesar-EF commented Jul 24, 2024

I am having the same issue. When setting redirectfromport attribute from any-port to null plan returns No changes. Your infrastructure matches the configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants