diff --git a/.changelog/32464.txt b/.changelog/32464.txt new file mode 100644 index 000000000000..7b7a95cfb700 --- /dev/null +++ b/.changelog/32464.txt @@ -0,0 +1,35 @@ +```release-note:bug +resource/aws_quicksight_template: Fix exception thrown when specifying `definition.sheets.visuals.bar_chart_visual.chart_configuration.category_axis.scrollbar_options.visible_range` +``` + +```release-note:bug +resource/aws_quicksight_template: Fix exception thrown when specifying `definition.sheets.visuals.pivot_table_visual.chart_configuration.field_options.selected_field_options.visibility` +``` + +```release-note:bug +resource/aws_quicksight_template: Fix exception thrown when specifying `definition.sheets.visuals.pivot_table_visual.chart_configuration.field_wells.pivot_table_aggregated_field_wells.rows` +``` + +```release-note:bug +resource/aws_quicksight_dashboard: Fix exception thrown when specifying `definition.sheets.visuals.bar_chart_visual.chart_configuration.category_axis.scrollbar_options.visible_range` +``` + +```release-note:bug +resource/aws_quicksight_dashboard: Fix exception thrown when specifying `definition.sheets.visuals.pivot_table_visual.chart_configuration.field_options.selected_field_options.visibility` +``` + +```release-note:bug +resource/aws_quicksight_dashboard: Fix exception thrown when specifying `definition.sheets.visuals.pivot_table_visual.chart_configuration.field_wells.pivot_table_aggregated_field_wells.rows` +``` + +```release-note:bug +resource/aws_quicksight_analysis: Fix exception thrown when specifying `definition.sheets.visuals.bar_chart_visual.chart_configuration.category_axis.scrollbar_options.visible_range` +``` + +```release-note:bug +resource/aws_quicksight_analysis: Fix exception thrown when specifying `definition.sheets.visuals.pivot_table_visual.chart_configuration.field_options.selected_field_options.visibility` +``` + +```release-note:bug +resource/aws_quicksight_analysis: Fix exception thrown when specifying `definition.sheets.visuals.pivot_table_visual.chart_configuration.field_wells.pivot_table_aggregated_field_wells.rows` +``` diff --git a/internal/service/quicksight/schema/visual_chart_configuration.go b/internal/service/quicksight/schema/visual_chart_configuration.go index 55518f12e1ba..687bef112e80 100644 --- a/internal/service/quicksight/schema/visual_chart_configuration.go +++ b/internal/service/quicksight/schema/visual_chart_configuration.go @@ -1368,7 +1368,7 @@ func flattenScrollBarOptions(apiObject *quicksight.ScrollBarOptions) []interface tfMap["visibility"] = aws.StringValue(apiObject.Visibility) } if apiObject.VisibleRange != nil { - tfMap["visibile_range"] = flattenVisibleRangeOptions(apiObject.VisibleRange) + tfMap["visible_range"] = flattenVisibleRangeOptions(apiObject.VisibleRange) } return []interface{}{tfMap} diff --git a/internal/service/quicksight/schema/visual_pivot_table.go b/internal/service/quicksight/schema/visual_pivot_table.go index f6e07f833a98..b4166edbfd95 100644 --- a/internal/service/quicksight/schema/visual_pivot_table.go +++ b/internal/service/quicksight/schema/visual_pivot_table.go @@ -1295,7 +1295,7 @@ func flattenPivotTableAggregatedFieldWells(apiObject *quicksight.PivotTableAggre tfMap["columns"] = flattenDimensionFields(apiObject.Columns) } if apiObject.Rows != nil { - tfMap["row"] = flattenDimensionFields(apiObject.Rows) + tfMap["rows"] = flattenDimensionFields(apiObject.Rows) } if apiObject.Values != nil { tfMap["values"] = flattenMeasureFields(apiObject.Values) @@ -1671,7 +1671,7 @@ func flattenPivotTableFieldOption(apiObject []*quicksight.PivotTableFieldOption) tfMap["custom_label"] = aws.StringValue(config.CustomLabel) } if config.Visibility != nil { - tfMap["visbility"] = aws.StringValue(config.Visibility) + tfMap["visibility"] = aws.StringValue(config.Visibility) } tfList = append(tfList, tfMap)