Skip to content

Commit

Permalink
Merge pull request #32791 from hashicorp/b-quicksight-insight-config-…
Browse files Browse the repository at this point in the history
…flattener

Correct typo in quicksight `schema.flattenInsightConfiguration`
  • Loading branch information
justinretzolk authored Aug 1, 2023
2 parents 27ed53b + 7472302 commit 0818e45
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .changelog/32791.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
```release-note:bug
resource/aws_quicksight_analysis: Fix an error related to setting the value for `definition.sheets.visuals.insight_visual.insight_configuration.computation`
```

```release-note:bug
resource/aws_quicksight_dashboard: Fix an error related to setting the value for `definition.sheets.visuals.insight_visual.insight_configuration.computation`
```

```release-note:bug
resource/aws_quicksight_template: Fix an error related to setting the value for `definition.sheets.visuals.insight_visual.insight_configuration.computation`
```
2 changes: 1 addition & 1 deletion internal/service/quicksight/schema/visual_insight.go
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ func flattenInsightConfiguration(apiObject *quicksight.InsightConfiguration) []i

tfMap := map[string]interface{}{}
if apiObject.Computations != nil {
tfMap["computations"] = flattenComputation(apiObject.Computations)
tfMap["computation"] = flattenComputation(apiObject.Computations)
}
if apiObject.CustomNarrative != nil {
tfMap["custom_narrative"] = flattenCustomNarrativeOptions(apiObject.CustomNarrative)
Expand Down

0 comments on commit 0818e45

Please sign in to comment.