AWS QuickSight Dashboard PANIC rendering
t0yv0 opened this issue · 0 comments
t0yv0 commented
What happened?
Another example of PANIC rendering into AWS.
Example
resource "aws_quicksight_dashboard" "example" {
dashboard_id = "example-id"
name = "example-name"
version_description = "version"
definition {
data_set_identifiers_declarations {
data_set_arn = aws_quicksight_data_set.dataset.arn
identifier = "1"
}
sheets {
title = "Example"
sheet_id = "Example1"
visuals {
line_chart_visual {
visual_id = "LineChart"
title {
format_text {
plain_text = "Line Chart Example"
}
}
chart_configuration {
field_wells {
line_chart_aggregated_field_wells {
category {
categorical_dimension_field {
field_id = "1"
column {
data_set_identifier = "1"
column_name = "Column1"
}
}
}
values {
categorical_measure_field {
field_id = "2"
column {
data_set_identifier = "1"
column_name = "Column1"
}
aggregation_function = "COUNT"
}
}
}
}
}
}
}
}
}
}
Renders to:
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.quicksight.Dashboard;
import com.pulumi.aws.quicksight.DashboardArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Dashboard("example", DashboardArgs.builder()
.dashboardId("example-id")
.name("example-name")
.versionDescription("version")
.definition(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
}
}
Output of pulumi about
N/A
Additional context
N/A
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).