Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: aws_quicksight_analysis KPI visual ignores comparison method #32285

Closed
g-dx opened this issue Jun 29, 2023 · 3 comments · Fixed by #32286
Closed

[Bug]: aws_quicksight_analysis KPI visual ignores comparison method #32285

g-dx opened this issue Jun 29, 2023 · 3 comments · Fixed by #32286
Labels
bug Addresses a defect in current functionality. service/quicksight Issues and PRs that pertain to the quicksight service.
Milestone

Comments

@g-dx
Copy link
Contributor

g-dx commented Jun 29, 2023

Terraform Core Version

1.4.5

AWS Provider Version

5.5.0

Affected Resource(s)

  • aws_quicksight_analysis

Expected Behavior

When configuring a QuickSight Analysis with a KPI visual the comparison method should be configured correctly.

Actual Behavior

Creation of the AWS resource is successful but the Terraform specified comparison method is always ignored.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

resource "aws_quicksight_analysis" "generated_total_profiles_analysis" {
  analysis_id    = "ID"
  name           = "NAME"
  aws_account_id = data.aws_caller_identity.current.account_id

  definition {
    data_set_identifiers_declarations {
      data_set_arn = "ARN"
      identifier   = "IDENTIFIER"
    }
    
    sheets {
      sheet_id = "SHEET"
      name     = "NAME"

      visuals {
        kpi_visual {
          visual_id = "last-3-months-kpi"
          title {
            visibility = "VISIBLE"
          }
          subtitle {
            visibility = "VISIBLE"
          }
          chart_configuration {
            field_wells {
              values {
                numerical_measure_field {
                  field_id = "totals"
                  column {
                    data_set_identifier = "IDENTIFIER"
                    column_name         = "Totals"
                  }
                  aggregation_function {
                    simple_numerical_aggregation = "SUM"
                  }
                }
              }
            }
            sort_configuration {}
            kpi_options {
              progress_bar {
                visibility = "HIDDEN"
              }
              comparison {
                comparison_method = "DIFFERENCE"
              }
              primary_value_display_type = "COMPARISON"
            }
          } }
      }
      content_type = "INTERACTIVE"
    }

  }
}

Steps to Reproduce

Apply the Terraform code above.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

Yes

@g-dx g-dx added bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. labels Jun 29, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/quicksight Issues and PRs that pertain to the quicksight service. label Jun 29, 2023
g-dx added a commit to g-dx/terraform-provider-aws that referenced this issue Jun 29, 2023
@justinretzolk justinretzolk removed the needs-triage Waiting for first response or review from a maintainer. label Jun 29, 2023
@github-actions github-actions bot added this to the v5.9.0 milestone Jul 14, 2023
@github-actions
Copy link

This functionality has been released in v5.9.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/quicksight Issues and PRs that pertain to the quicksight service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants