Skip to content

Commit

Permalink
r/aws_quicksight_analysis: Correctly expand comparison method
Browse files Browse the repository at this point in the history
  • Loading branch information
g-dx committed Jun 29, 2023
1 parent 0df967c commit 8880e3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/32285.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_quicksight_analysis: Correctly expand comparison method
```
2 changes: 1 addition & 1 deletion internal/service/quicksight/schema/visual.go
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ func expandComparisonConfiguration(tfList []interface{}) *quicksight.ComparisonC

config := &quicksight.ComparisonConfiguration{}

if v, ok := tfMap["config"].(string); ok && v != "" {
if v, ok := tfMap["comparison_method"].(string); ok && v != "" {
config.ComparisonMethod = aws.String(v)
}
if v, ok := tfMap["comparison_format"].([]interface{}); ok && len(v) > 0 {
Expand Down

0 comments on commit 8880e3d

Please sign in to comment.