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] citrixadc_vpnsessionaction - does not fetch correct state #1110

Closed
HS1542 opened this issue Nov 8, 2023 · 4 comments
Closed

[BUG] citrixadc_vpnsessionaction - does not fetch correct state #1110

HS1542 opened this issue Nov 8, 2023 · 4 comments
Assignees
Labels
bug In-Progress ..being worked upon

Comments

@HS1542
Copy link

HS1542 commented Nov 8, 2023

When subsequently running the project, the vpnsessionaction resource will reapply some parameters on every run (not changing as it does not know the value).
It seems that it does not fetch the correct state after having set the values or during planning
I have yet only discovered it for clientdebug, clientoptions, epaclienttype and windowsclienttype:

# citrixadc_vpnsessionaction.vpn_sess_act_gw will be updated in-place
  ~ resource "citrixadc_vpnsessionaction" "vpn_sess_act_gw" {
      + clientdebug                = "OFF"
      + clientoptions              = "all"
      + epaclienttype              = "AGENT"
        id                         = "vpn_sess_act-gw"
        name                       = "vpn_sess_act-gw"
      + windowsclienttype          = "AGENT"
        # (23 unchanged attributes hidden)
    }
@rohit-myali
Copy link
Contributor

Hello @HS1542
Thanks for raising the issue.
Can you please paste your terraform configuration, We will try to reproduce this and update you on this!

Thankss

@HS1542
Copy link
Author

HS1542 commented Apr 3, 2024

I do not longer have access to the code repository, but If I recall correctly it was reproducable by just creating a vpnsessionaction resource and specifying the a value for clientdebug, clientoptions, epaclienttype and windowsclienttype.
Running the project would set the values correctly, but the state would not fetch the correct values, so at every rerun, the values would be set anew, hence the + sign

resource "citrixadc_vpnsessionaction" "tf_sessionaction" {
clientdebug = "OFF"
clientoptions = "all"
epaclienttype = "AGENT"
windowsclienttype = "AGENT"
name = "newsession"
sesstimeout = "10"
defaultauthorizationaction = "ALLOW"
transparentinterception = "ON"
clientidletimeout = "10"
sso = "ON"
icaproxy = "ON"
wihome = "https://citrix.lab.com"
clientlessvpnmode = "DISABLED"
}

@rohit-myali rohit-myali self-assigned this Apr 5, 2024
@rohit-myali rohit-myali added bug In-Progress ..being worked upon labels Apr 5, 2024
@rohit-myali
Copy link
Contributor

Hello @HS1542
We have worked on this bug and it is now available in the terraform registry. Please download the latest terraform-provider-citrixadc version v1.38.0.

Thank You

@HS1542
Copy link
Author

HS1542 commented Apr 19, 2024

Great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug In-Progress ..being worked upon
Projects
None yet
Development

No branches or pull requests

2 participants