Skip to content

aws_quicksight_dashboard / aws_quicksight_analysis: scatter_plot_categorically_aggregated_field_wells missing label block #46529

@crgomez

Description

@crgomez

Terraform and AWS Provider Version

Terraform v1.13.4
AWS Provider v6.31.0

Affected Resource(s) or Data Source(s)

  • aws_quicksight_dashboard
  • aws_quicksight_analysis

Expected Behavior

The scatter_plot_categorically_aggregated_field_wells block should support a label sub-block that accepts categorical_dimension_field or date_dimension_field, matching the QuickSight API.
scatter_plot_categorically_aggregated_field_wells { x_axis { ... } y_axis { ... } category { ... } label { categorical_dimension_field { field_id = "ticket_id_label" column { data_set_identifier = "my_dataset" column_name = "ticket_id" } } } }

Actual Behavior

Blocks of type "label" are not expected here.

Relevant Error/Panic Output

│ Error: Unsupported block type
│
│   on quicksight_cluster_dashboard.tf line 66:
│   66:                 label {
│
│ Blocks of type "label" are not expected here.

Sample Terraform Configuration

resource "aws_quicksight_dashboard" "example" {
  # ...
  definition {
    sheets {
      visuals {
        scatter_plot_visual {
          chart_configuration {
            field_wells {
              scatter_plot_categorically_aggregated_field_wells {
                x_axis { ... }
                y_axis { ... }
                category { ... }
                # This block is not recognized by the provider
                label {
                  categorical_dimension_field {
                    field_id = "ticket_id_label"
                    column {
                      data_set_identifier = "my_dataset"
                      column_name         = "ticket_id"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Steps to Reproduce

  1. Add a label block inside scatter_plot_categorically_aggregated_field_wells in an aws_quicksight_dashboard or aws_quicksight_analysis resource
  2. Run terraform plan
  3. Observe error: Blocks of type "label" are not expected here.

Debug Logging

N/A

GenAI / LLM Assisted Development

Kiro

Important Facts and References

CloudFormation: ScatterPlotCategoricallyAggregatedFieldWells

Would you like to implement a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAddresses a defect in current functionality.needs-triageWaiting for first response or review from a maintainer.service/quicksightIssues and PRs that pertain to the quicksight service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions