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] GACS: Settings Mixup #1 #166

Open
xinghengl-citrix opened this issue Dec 13, 2024 · 0 comments
Open

[Bug] GACS: Settings Mixup #1 #166

xinghengl-citrix opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working 🔧

Comments

@xinghengl-citrix
Copy link
Contributor

xinghengl-citrix commented Dec 13, 2024

Thanks for taking the time to fill out this bug report! Before submitting this issue please check the open bugs to ensure the bug has not already been reported. If it has been reported give it a 👍

If this bug is present when using the Citrix service UI or REST APIs then it is not a bug in the provider but rather a bug in the underlying service or the environment. In some cases there can be an enhancement in the provider to handle the error better. Please open a feature request instead of a bug in this case. For more information see CONTRIBUTING.md#provider-issue-vs-product-issue-vs-configuration-issue.

Describe the bug

The whole GAC settings 'Category' gets reconfigured while single setting is updated.

Terraform command (import, apply, etc):
Terraform Plan

Resource impacted:
"citrix_gac_settings

Versions

1.0.8

Use the terraform -v command to find the Terraform and Citrix Provider versions.
Terraform:
citrix/citrix provider:
Operation system:

For on-premises customers fill out any that apply with the CU or LTSR version (eg 2402).
CVAD (DDC, VDA, etc):
Storefront:

Terraform configuration files

Paste or attach any relevant .tf files with secrets and identifying information removed.
resource "citrix_gac_settings" "settings_configuration" {
service_url = "XXX"
name = "XXX"
description = "Windows and Mac OS settings"
use_for_app_config = true
app_settings = {
windows = [
{
category = "Ica client",
user_override = false,
settings = [
{
name = "enable ceip",
value_string = "false"
},
{
name = "auto update check",
value_string = "Manual"
}
]
}
] }}

Terraform console output

Paste the output from Terraform CLI including any errors and the transactionIds if present.

citrix_gac_settings.baseline_settings_configuration will be updated in-place

~ resource "citrix_gac_settings" "settings_configuration" {
~ app_settings = {
~ windows = [
- {
- category = "Ica client" -> null
- settings = [
- {
- name = "enable ceip" -> null
- value_string = "false" -> null
},
- {
- name = "auto update check" -> null
- value_string = "Manual" -> null
},
] -> null
- user_override = false -> null
},
+ {
+ category = "Ica client"
+ settings = [
+ {
+ name = "enable ceip"
+ value_string = "false"
},
+ {
+ name = "auto update check"
+ value_string = "Auto"
},
]
+ user_override = false
},
# (2 unchanged elements hidden)
]
# (1 unchanged attribute hidden)
}

If the output references a file in the temp directory include it as well.

Terraform log file

If the issue is reproducible enable Terraform debug logging using one of the commands below. Then reproduce the issue and include the resulting log file. More information about Terraform logging is available here.

cmd:

set TF_LOG="DEBUG"
set TF_LOG_PATH="./citrix-provider-issue.txt"
terraform <command>

Powershell:

$env:TF_LOG="DEBUG"
$env:TF_LOG_PATH="./citrix-provider-issue.txt"
terraform <command>

bash:

export TF_LOG="DEBUG"
export TF_LOG_PATH="./citrix-provider-issue.txt"
terraform <command>

CitrixIssueId: 59631

@xinghengl-citrix xinghengl-citrix added bug Something isn't working 🔧 labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🔧
Projects
None yet
Development

No branches or pull requests

1 participant