If you comment out the attribute, we will be able to run “terraform plan” followed by “terraform apply”.
aggregation {
############ This is missing in TF and we need to disable the entire tooltip
# attribute_aggregation_function {
# simple_attribute_aggregation = "UNIQUE_VALUE"
# }
}
When you run “terraform apply” and the command executes completely, the dashboard will be created on Quicksight. The problem that we’re facing is that the geospatial map visual doesn’t display as it should because you need to comment out the function before it can be displayed.
Actual Behavior
When we run the “terraform plan”, the code below fails because it will throw out an Unsupported block type error. This is due to the aggregation function with the “attribute_aggregation_function” attribute. I noticed that the main problem is that the aggregation function used for the POI ID tooltip, the “UNIQUE_VALUES” aggregation function does not seem to be part of the terraform adapter, but it is in AWS API.
The error received after running “terraform plan” is displayed below:
**Error: Unsupported block type
on dashboard_bug.tf line 170, in resource "aws_quicksight_dashboard" "feedback-dashboard-bug":
170: attribute_aggregation_function {
Blocks of type "attribute_aggregation_function" are not expected here.**
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.
Terraform Core Version
1.5.3
AWS Provider Version
5.16.1
Affected Resource(s)
No response
Expected Behavior
If you comment out the attribute, we will be able to run “terraform plan” followed by “terraform apply”.
When you run “terraform apply” and the command executes completely, the dashboard will be created on Quicksight. The problem that we’re facing is that the geospatial map visual doesn’t display as it should because you need to comment out the function before it can be displayed.
Actual Behavior
When we run the “terraform plan”, the code below fails because it will throw out an Unsupported block type error. This is due to the aggregation function with the “attribute_aggregation_function” attribute. I noticed that the main problem is that the aggregation function used for the POI ID tooltip, the “UNIQUE_VALUES” aggregation function does not seem to be part of the terraform adapter, but it is in AWS API.
The error received after running “terraform plan” is displayed below:
Relevant Error/Panic Output Snippet
No response
Terraform Configuration File
Steps to Reproduce
terraform make terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None