Skip to content

[Bug] GACS: Settings Mixup #1Β #166

@xinghengl-citrix

Description

@xinghengl-citrix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    πŸ”§bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions