From 060a7ed26828b3ff652961913f1a4a9b5f5cdbdc Mon Sep 17 00:00:00 2001 From: Stefan Freitag Date: Mon, 23 Sep 2024 20:58:41 +0200 Subject: [PATCH 1/4] fix: fix typo in mapping for cascading_control_configuration The internally used key `cacading_control_configuration` contains a typo, so that the mapping finally fails. --- internal/service/quicksight/schema/template_parameter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/quicksight/schema/template_parameter.go b/internal/service/quicksight/schema/template_parameter.go index a15ddec0f738..f6756580f37b 100644 --- a/internal/service/quicksight/schema/template_parameter.go +++ b/internal/service/quicksight/schema/template_parameter.go @@ -1097,7 +1097,7 @@ func flattenParameterListControl(apiObject *awstypes.ParameterListControl) []int } if apiObject.CascadingControlConfiguration != nil { - tfMap["cacading_control_configuration"] = flattenCascadingControlConfiguration(apiObject.CascadingControlConfiguration) + tfMap["cascading_control_configuration"] = flattenCascadingControlConfiguration(apiObject.CascadingControlConfiguration) } if apiObject.DisplayOptions != nil { tfMap["display_options"] = flattenListControlDisplayOptions(apiObject.DisplayOptions) From af3fa09f3f7d75bee7af98401e8c70de8dfb4f62 Mon Sep 17 00:00:00 2001 From: Stefan Freitag Date: Mon, 23 Sep 2024 21:17:58 +0200 Subject: [PATCH 2/4] chore: add changelog entry --- .changelog/39453.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/39453.txt diff --git a/.changelog/39453.txt b/.changelog/39453.txt new file mode 100644 index 000000000000..6ec2669693a1 --- /dev/null +++ b/.changelog/39453.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_quicksight_dashboard: Fix mapping issue when using templates with cascading control configurations. +``` From b5558cf9023c624970a598727ead533cfb325fff Mon Sep 17 00:00:00 2001 From: Stefan Freitag Date: Fri, 27 Sep 2024 22:41:45 +0200 Subject: [PATCH 3/4] fix: fix typo in mapping for cascading_control_configuration A 2nd file was affected by the typo. --- internal/service/quicksight/schema/template_control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/quicksight/schema/template_control.go b/internal/service/quicksight/schema/template_control.go index f9ab8fe2c30c..611fe24be52a 100644 --- a/internal/service/quicksight/schema/template_control.go +++ b/internal/service/quicksight/schema/template_control.go @@ -1348,7 +1348,7 @@ func flattenFilterListControl(apiObject *awstypes.FilterListControl) []interface } if apiObject.CascadingControlConfiguration != nil { - tfMap["cacading_control_configuration"] = flattenCascadingControlConfiguration(apiObject.CascadingControlConfiguration) + tfMap["cascading_control_configuration"] = flattenCascadingControlConfiguration(apiObject.CascadingControlConfiguration) } if apiObject.DisplayOptions != nil { tfMap["display_options"] = flattenListControlDisplayOptions(apiObject.DisplayOptions) From c52ee832c650ceb913edfdb690eabd94d457ae62 Mon Sep 17 00:00:00 2001 From: Kit Ewbank Date: Mon, 30 Sep 2024 11:51:11 -0400 Subject: [PATCH 4/4] Tweak CHANGELOG entry. --- .changelog/39453.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changelog/39453.txt b/.changelog/39453.txt index 6ec2669693a1..6162ba0a6157 100644 --- a/.changelog/39453.txt +++ b/.changelog/39453.txt @@ -1,3 +1,3 @@ ```release-note:bug -resource/aws_quicksight_dashboard: Fix mapping issue when using templates with cascading control configurations. +resource/aws_quicksight_dashboard: Fix mapping of `sheets.filter_controls.list.cascading_control_configuration` and `sheets.parameter_controls.list.cascading_control_configuration` attributes ```