From 99f72843a2b90ecdb7e18b18ee2fdef7c39f49c2 Mon Sep 17 00:00:00 2001 From: Justin Retzolk <44710313+justinretzolk@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:36:17 -0500 Subject: [PATCH 1/2] Correct type in quicksight visual flattener --- internal/service/quicksight/schema/visual.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/quicksight/schema/visual.go b/internal/service/quicksight/schema/visual.go index c73235d67876..e4a2ced16f97 100644 --- a/internal/service/quicksight/schema/visual.go +++ b/internal/service/quicksight/schema/visual.go @@ -1476,7 +1476,7 @@ func flattenDataLabelOptions(apiObject *quicksight.DataLabelOptions) []interface tfMap["label_font_configuration"] = flattenFontConfiguration(apiObject.LabelFontConfiguration) } if apiObject.MeasureLabelVisibility != nil { - tfMap["measure_visibility"] = aws.StringValue(apiObject.MeasureLabelVisibility) + tfMap["measure_label_visibility"] = aws.StringValue(apiObject.MeasureLabelVisibility) } if apiObject.Overlap != nil { tfMap["overlap"] = aws.StringValue(apiObject.Overlap) From 5ab6fb11156d4a3510f2a8deb6fbaf8320cc21da Mon Sep 17 00:00:00 2001 From: Justin Retzolk <44710313+justinretzolk@users.noreply.github.com> Date: Mon, 24 Jul 2023 15:42:40 -0500 Subject: [PATCH 2/2] chore: changelog --- .changelog/32668.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .changelog/32668.txt diff --git a/.changelog/32668.txt b/.changelog/32668.txt new file mode 100644 index 000000000000..d50534e42259 --- /dev/null +++ b/.changelog/32668.txt @@ -0,0 +1,11 @@ +```release-note:bug +resource/aws_quicksight_analysis: Fix exception thrown when setting the value for `definition.sheets.visuals.pie_chart_visual.chart_configuration.data_labels.measure_label_visibility` +``` + +```release-note:bug +resource/aws_quicksight_dashboard: Fix exception thrown when setting the value for `definition.sheets.visuals.pie_chart_visual.chart_configuration.data_labels.measure_label_visibility` +``` + +```release-note:bug +resource/aws_quicksight_template: Fix exception thrown when setting the value for `definition.sheets.visuals.pie_chart_visual.chart_configuration.data_labels.measure_label_visibility` +```