diff --git a/insights/terraform/projects/bb2/services/quicksight/main.tf b/insights/terraform/projects/bb2/services/quicksight/main.tf
index eaa5b3f79e..8197641f1c 100644
--- a/insights/terraform/projects/bb2/services/quicksight/main.tf
+++ b/insights/terraform/projects/bb2/services/quicksight/main.tf
@@ -115,5 +115,5 @@ module "quicksight-analysis-dasg-metrics" {
data_set_prod_per_app_id = local.dataset_prod_per_app_vars.id
quicksight_groupname_owners = var.quicksight_groupname_owners
quicksight_groupname_admins = var.quicksight_groupname_admins
-
+ data_set_perf_mon_id = var.data_set_perf_mon_id
}
diff --git a/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-dasg-metrics/main.tf b/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-dasg-metrics/main.tf
index 78174da742..fab57e67f9 100644
--- a/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-dasg-metrics/main.tf
+++ b/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-dasg-metrics/main.tf
@@ -12,7 +12,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
permissions {
principal = "arn:aws:quicksight:us-east-1:${local.account_id}:${var.quicksight_groupname_owners}"
- actions = [
+ actions = [
"quicksight:DeleteAnalysis",
"quicksight:DescribeAnalysis",
"quicksight:DescribeAnalysisPermissions",
@@ -25,7 +25,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
permissions {
principal = "arn:aws:quicksight:us-east-1:${local.account_id}:${var.quicksight_groupname_admins}"
- actions = [
+ actions = [
"quicksight:DeleteAnalysis",
"quicksight:DescribeAnalysis",
"quicksight:DescribeAnalysisPermissions",
@@ -61,6 +61,10 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
data_set_arn = "arn:aws:quicksight:us-east-1:${local.account_id}:dataset/${var.data_set_impl_id}"
identifier = "impl_global_state"
}
+ data_set_identifiers_declarations {
+ data_set_arn = "arn:aws:quicksight:us-east-1:${local.account_id}:dataset/${var.data_set_perf_mon_id}"
+ identifier = "events_prod_perf_mon"
+ }
data_set_identifiers_declarations {
data_set_arn = "arn:aws:quicksight:us-east-1:${local.account_id}:dataset/${var.data_set_prod_id}"
identifier = "prod_global_state"
@@ -165,8 +169,8 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
scope_configuration {
selected_sheets {
sheet_visual_scoping_configurations {
- scope = "SELECTED_VISUALS"
- sheet_id = "afaae03e-b8f7-47c2-a7eb-e1935ed05ee0"
+ scope = "SELECTED_VISUALS"
+ sheet_id = "afaae03e-b8f7-47c2-a7eb-e1935ed05ee0"
visual_ids = [
"7a018458-8312-47f0-9cb9-6d340ff29d7d",
]
@@ -202,8 +206,8 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
scope_configuration {
selected_sheets {
sheet_visual_scoping_configurations {
- scope = "SELECTED_VISUALS"
- sheet_id = "afaae03e-b8f7-47c2-a7eb-e1935ed05ee0"
+ scope = "SELECTED_VISUALS"
+ sheet_id = "afaae03e-b8f7-47c2-a7eb-e1935ed05ee0"
visual_ids = [
"0948cc12-cc79-4213-95cb-3a1f77599152",
]
@@ -239,8 +243,8 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
scope_configuration {
selected_sheets {
sheet_visual_scoping_configurations {
- scope = "SELECTED_VISUALS"
- sheet_id = "42c76446-8b34-4221-860b-9e38a2f164c6"
+ scope = "SELECTED_VISUALS"
+ sheet_id = "42c76446-8b34-4221-860b-9e38a2f164c6"
visual_ids = [
"a32bb923-757d-42a5-8e2e-f9a35dafb81c",
]
@@ -278,8 +282,8 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
scope_configuration {
selected_sheets {
sheet_visual_scoping_configurations {
- scope = "SELECTED_VISUALS"
- sheet_id = "8ce46ef8-3288-4045-a12e-836dea601e0b"
+ scope = "SELECTED_VISUALS"
+ sheet_id = "8ce46ef8-3288-4045-a12e-836dea601e0b"
visual_ids = [
"9c24246d-c46a-41b1-a0ef-ed9892d0d80f",
]
@@ -287,6 +291,43 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
}
}
}
+ filter_groups {
+ cross_dataset = "SINGLE_DATASET"
+ filter_group_id = "bee9241c-3ad2-42ac-b7a8-7a80b7b8ccbc"
+ status = "ENABLED"
+
+ filters {
+ category_filter {
+ filter_id = "89db5a12-7e42-4407-a82c-b1de5cb14643"
+
+ configuration {
+ filter_list_configuration {
+ category_values = [
+ "en-us",
+ "es-mx"
+ ]
+ match_operator = "CONTAINS"
+ }
+ }
+
+ column {
+ column_name = "req_qparam_lang"
+ data_set_identifier = "events_prod_perf_mon"
+ }
+ }
+ }
+ scope_configuration {
+ selected_sheets {
+ sheet_visual_scoping_configurations {
+ scope = "SELECTED_VISUALS"
+ sheet_id = "4595cab3-1c2d-4544-b922-29b846c5f2eb"
+ visual_ids = [
+ "bd76b260-b4ac-4912-8512-7e7217ad2fa0",
+ ]
+ }
+ }
+ }
+ }
sheets {
content_type = "INTERACTIVE"
name = "Engagement - Production"
@@ -804,11 +845,6 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
field_id = "2ef3e5ec-fd0d-49c7-9c62-9f2ed827f260.11.1641418258046"
visibility = "VISIBLE"
}
- selected_field_options {
- custom_label = "Enrollees served-WoW Gains/Losses %"
- field_id = "486c411d-604e-40c0-ad82-8b83c577382b.3.1641420789466"
- visibility = "VISIBLE"
- }
selected_field_options {
custom_label = "Enrollees served-Progress to FY2024 Target 450K"
field_id = "0581b3bf-d5ad-47a1-ad31-c6cc9c1408ec.4.1641486129331"
@@ -896,26 +932,6 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
}
}
}
- values {
- numerical_measure_field {
- field_id = "486c411d-604e-40c0-ad82-8b83c577382b.3.1641420789466"
-
- column {
- column_name = "bene_served_wow_percent"
- data_set_identifier = "prod_global_state"
- }
-
- format_configuration {
- numeric_format_configuration {
- percentage_display_format_configuration {
- null_value_format_configuration {
- null_string = "null"
- }
- }
- }
- }
- }
- }
values {
numerical_measure_field {
field_id = "0581b3bf-d5ad-47a1-ad31-c6cc9c1408ec.4.1641486129331"
@@ -932,6 +948,17 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
format_configuration {
numeric_format_configuration {
percentage_display_format_configuration {
+ suffix = "%"
+ negative_value_configuration {
+ display_mode = "NEGATIVE"
+ }
+ separator_configuration {
+ decimal_separator = "DOT"
+ thousands_separator {
+ symbol = "COMMA"
+ visibility = "VISIBLE"
+ }
+ }
null_value_format_configuration {
null_string = "null"
}
@@ -1196,8 +1223,6 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
}
-
-
values {
numerical_measure_field {
field_id = "f310934e-c316-4c0e-96ea-f61276d89bab.total_developer_with_registered_app_count.4.1662127374754"
@@ -1411,53 +1436,64 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
}
sheets {
content_type = "INTERACTIVE"
- name = "Total Unique Enrollee Authorization by Language"
- sheet_id = "97c4c9f6-6ac8-4499-9e85-42b00bcdcfdf"
+ name = "Permission Screen Language"
+ sheet_id = "4595cab3-1c2d-4544-b922-29b846c5f2eb"
layouts {
configuration {
grid_layout {
elements {
column_index = "0"
- column_span = 31
- element_id = "a9a16dc5-470a-4473-9141-f261a6e8b0b2"
+ column_span = 20
+ element_id = "bd76b260-b4ac-4912-8512-7e7217ad2fa0"
element_type = "VISUAL"
row_index = "0"
- row_span = 12
+ row_span = 11
}
}
}
}
visuals {
- table_visual {
- visual_id = "9a9a16dc5-470a-4473-9141-f261a6e8b0b2"
+ pivot_table_visual {
+ visual_id = "bd76b260-b4ac-4912-8512-7e7217ad2fa0"
chart_configuration {
field_options {
- #order = []
+ data_path_options {
+ width = "244px"
- selected_field_options {
- custom_label = "Date"
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.time_of_event.0.1667239330557"
- width = "300px"
+ data_path_list {
+ field_id = "87e818d6-910f-43fc-a8e5-16483bbce956.time_of_event.0.1718642543721"
+ field_value = "2024-07-08 00:00:00.000"
+ }
+ data_path_list {
+ field_id = "87e818d6-910f-43fc-a8e5-16483bbce956.req_user_id.2.1718642578144"
+ field_value = "req_user_id"
+ }
}
selected_field_options {
custom_label = "Language"
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.req_qparam_lang.2.1667239330557"
- width = "300px"
+ field_id = "87e818d6-910f-43fc-a8e5-16483bbce956.req_qparam_lang.1.1718642562990"
+ visibility = "VISIBLE"
+ }
+ selected_field_options {
+ custom_label = "Date"
+ field_id = "87e818d6-910f-43fc-a8e5-16483bbce956.time_of_event.0.1718642543721"
+ visibility = "VISIBLE"
}
selected_field_options {
custom_label = "Total Unique Enrollees"
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.req_user_id.2.1667239330557"
- width = "300px"
+ field_id = "87e818d6-910f-43fc-a8e5-16483bbce956.req_user_id.2.1718642578144"
+ visibility = "VISIBLE"
}
}
field_wells {
- table_aggregated_field_wells {
- group_by {
+ pivot_table_aggregated_field_wells {
+ columns {
date_dimension_field {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.time_of_event.0.1667239330557"
+ date_granularity = "WEEK"
+ field_id = "87e818d6-910f-43fc-a8e5-16483bbce956.time_of_event.0.1718642543721"
column {
column_name = "time_of_event"
@@ -1465,9 +1501,9 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
}
}
}
- group_by {
+ rows {
categorical_dimension_field {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.req_qparam_lang.2.1706289461891"
+ field_id = "87e818d6-910f-43fc-a8e5-16483bbce956.req_qparam_lang.1.1718642562990"
column {
column_name = "req_qparam_lang"
@@ -1477,10 +1513,10 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
}
values {
numerical_measure_field {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.req_user_id.2.1667239330557"
+ field_id = "87e818d6-910f-43fc-a8e5-16483bbce956.req_user_id.2.1718642578144"
aggregation_function {
- simple_numerical_aggregation = "COUNT"
+ simple_numerical_aggregation = "DISTINCT_COUNT"
}
column {
@@ -1492,17 +1528,21 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
}
}
sort_configuration {
- row_sort {
- field_sort {
- direction = "DESC"
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.time_of_event.2.1667239330557"
- }
- }
}
- table_options {
- cell_style {
- height = 25
+ table_options {
+ column_names_visibility = "VISIBLE"
+ }
+ total_options {
+ row_subtotal_options {
+ custom_label = "<<$aws:subtotalDimension>> Subtotal"
+ totals_visibility = "VISIBLE"
+ metric_header_cell_style {
+ }
+ total_cell_style {
+ }
+ value_cell_style {
+ }
}
}
}
@@ -1515,7 +1555,11 @@ resource "aws_quicksight_analysis" "quicksight_analysis_dasg_metrics" {
visibility = "VISIBLE"
format_text {
- rich_text = "\n \n Total Unique Enrollee Authorization by Language "
+ rich_text = <<-EOT
+
+ Permission Screen Language
+
+ EOT
}
}
}
diff --git a/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-dasg-metrics/variables.tf b/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-dasg-metrics/variables.tf
index 4051d4d4a6..20f196a5f5 100644
--- a/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-dasg-metrics/variables.tf
+++ b/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-dasg-metrics/variables.tf
@@ -32,3 +32,8 @@ variable "quicksight_groupname_admins" {
description = "Quicksight admins group name"
type = string
}
+
+variable "data_set_perf_mon_id" {
+ description = "DataSet perf mon ID"
+ type = string
+}
diff --git a/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-prod-applications/main.tf b/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-prod-applications/main.tf
index 59b5ff2bb4..fe6cad160f 100644
--- a/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-prod-applications/main.tf
+++ b/insights/terraform/projects/bb2/services/quicksight/modules/quicksight-analysis-prod-applications/main.tf
@@ -773,7 +773,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
filter_id = "ddcb7121-71df-42a9-829a-c40dddd0c225"
match_operator = "EQUALS"
null_option = "ALL_VALUES"
- value = 0
+ value = 1
aggregation_function {
numerical_aggregation_function {
@@ -935,6 +935,74 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
}
}
}
+ filter_groups {
+ cross_dataset = "SINGLE_DATASET"
+ filter_group_id = "3d58056e-245e-4a83-81c3-ca24bb097fe3"
+ status = "ENABLED"
+
+ filters {
+ numeric_equality_filter {
+ filter_id = "cbc81c13-26d5-4ce3-8dca-a42974efb0d3"
+ match_operator = "EQUALS"
+ null_option = "NON_NULLS_ONLY"
+ select_all_options = "FILTER_ALL_VALUES"
+ value = 0
+
+ column {
+ column_name = "app_access_grant_enabled"
+ data_set_identifier = "prod_global_state_per_app"
+ }
+ }
+ }
+
+ scope_configuration {
+ selected_sheets {
+ sheet_visual_scoping_configurations {
+ scope = "SELECTED_VISUALS"
+ sheet_id = "8945dc75-5874-45e9-bc0f-3e5a9db0a62d"
+ visual_ids = [
+ "96b056e7-1d03-4b7f-8bfe-be1746e29b67",
+ ]
+ }
+ }
+ }
+ }
+ filter_groups {
+ cross_dataset = "SINGLE_DATASET"
+ filter_group_id = "37fcbe3e-b7df-41f4-becb-49503ce8bf6f"
+ status = "ENABLED"
+
+ filters {
+ category_filter {
+ filter_id = "d3271572-ce23-4214-a871-1fe37a050258"
+
+ column {
+ column_name = "calc_app_access_grant_category"
+ data_set_identifier = "prod_global_state_per_app"
+ }
+
+ configuration {
+ custom_filter_list_configuration {
+ match_operator = "CONTAINS"
+ null_option = "NON_NULLS_ONLY"
+ select_all_options = "FILTER_ALL_VALUES"
+ }
+ }
+ }
+ }
+
+ scope_configuration {
+ selected_sheets {
+ sheet_visual_scoping_configurations {
+ scope = "SELECTED_VISUALS"
+ sheet_id = "8945dc75-5874-45e9-bc0f-3e5a9db0a62d"
+ visual_ids = [
+ "96b056e7-1d03-4b7f-8bfe-be1746e29b67",
+ ]
+ }
+ }
+ }
+ }
parameter_declarations {
string_parameter_declaration {
name = "DYNAMICFIELD"
@@ -3595,7 +3663,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
list {
filter_control_id = "8a2feb46-9bfe-4725-a4ef-16fada3212d1"
source_filter_id = "ddcb7121-71df-42a9-829a-c40dddd0c225"
- title = "Filter By Enabled Application (1=Yes/0=No)"
+ title = "Filter By Activated Application (1=Yes/0=No)"
type = "SINGLE_SELECT"
display_options {
@@ -3618,6 +3686,61 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
}
}
+ filter_controls {
+ dropdown {
+ filter_control_id = "21027e4e-eef3-43c4-8c15-95d1d91fa51d"
+ source_filter_id = "cbc81c13-26d5-4ce3-8dca-a42974efb0d3"
+ title = "Filter by Access Grant Enabled (1=Yes/0=No)"
+ type = "SINGLE_SELECT"
+
+ display_options {
+ select_all_options {
+ visibility = "VISIBLE"
+ }
+ title_options {
+ visibility = "VISIBLE"
+
+ font_configuration {
+ font_size {
+ relative = "MEDIUM"
+ }
+ }
+ }
+ }
+ }
+ }
+ filter_controls {
+ dropdown {
+ filter_control_id = "005d7e89-e99d-4c59-b3d3-09980527345b"
+ source_filter_id = "d3271572-ce23-4214-a871-1fe37a050258"
+ title = "Filter by Access Grant Category"
+ type = "MULTI_SELECT"
+
+ display_options {
+ select_all_options {
+ visibility = "VISIBLE"
+ }
+ title_options {
+ visibility = "VISIBLE"
+
+ font_configuration {
+ font_size {
+ relative = "MEDIUM"
+ }
+ }
+ }
+ }
+
+ selectable_values {
+ values = [
+ "ONE_TIME",
+ "RESEARCH_S",
+ "THIRTEEN_M",
+ ]
+ }
+ }
+ }
+
layouts {
configuration {
grid_layout {
@@ -3640,81 +3763,64 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
element_type = "FILTER_CONTROL"
row_span = 1
}
+ elements {
+ column_span = 2
+ element_id = "21027e4e-eef3-43c4-8c15-95d1d91fa51d"
+ element_type = "FILTER_CONTROL"
+ row_span = 1
+ }
+ elements {
+ column_span = 2
+ element_id = "005d7e89-e99d-4c59-b3d3-09980527345b"
+ element_type = "FILTER_CONTROL"
+ row_span = 1
+ }
}
}
}
visuals {
- pivot_table_visual {
+ table_visual {
visual_id = "96b056e7-1d03-4b7f-8bfe-be1746e29b67"
chart_configuration {
field_options {
- data_path_options {
- width = "258px"
-
- data_path_list {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_name.2.1656511719055"
- field_value = "app_name"
- }
- }
- data_path_options {
- width = "151px"
-
- data_path_list {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_user_organization.1.1656511700288"
- field_value = "app_user_organization"
- }
- }
selected_field_options {
custom_label = "Organization"
field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_user_organization.1.1656511700288"
- visibility = "VISIBLE"
}
selected_field_options {
custom_label = "App Name"
field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_name.2.1656511719055"
- visibility = "VISIBLE"
}
selected_field_options {
custom_label = "Created On"
field_id = "584bdf55-45e0-48fa-a60b-99db83f3bc16.4.1663854685543"
- visibility = "VISIBLE"
}
selected_field_options {
custom_label = "First Active"
field_id = "214a59ab-d317-4659-9b52-fc62f0462f03.5.1663854772668"
- visibility = "VISIBLE"
}
selected_field_options {
custom_label = "Last Active"
field_id = "89ccbbc4-cdf4-45d9-88ef-a70341c05ba8.6.1664288640814"
- visibility = "VISIBLE"
}
selected_field_options {
custom_label = "Grant Category"
field_id = "8783cd59-0891-49ff-b328-3a38b1855bb6.0.1709327453902"
- visibility = "VISIBLE"
+ }
+ selected_field_options {
+ custom_label = "Access Grant Enabled?"
+ field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_access_grant_enabled.7.1724857533205"
}
selected_field_options {
custom_label = "Report Date"
field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.report_date.0.1656511666014"
- visibility = "VISIBLE"
}
}
field_wells {
- pivot_table_aggregated_field_wells {
- columns {
- date_dimension_field {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.report_date.0.1656511666014"
-
- column {
- column_name = "report_date"
- data_set_identifier = "prod_global_state_per_app"
- }
- }
- }
- rows {
+ table_aggregated_field_wells {
+ group_by {
categorical_dimension_field {
field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_user_organization.1.1656511700288"
@@ -3724,7 +3830,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
}
}
}
- rows {
+ group_by {
categorical_dimension_field {
field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_name.2.1656511719055"
@@ -3734,7 +3840,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
}
}
}
- rows {
+ group_by {
categorical_dimension_field {
field_id = "584bdf55-45e0-48fa-a60b-99db83f3bc16.4.1663854685543"
@@ -3744,7 +3850,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
}
}
}
- rows {
+ group_by {
categorical_dimension_field {
field_id = "214a59ab-d317-4659-9b52-fc62f0462f03.5.1663854772668"
@@ -3754,7 +3860,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
}
}
}
- rows {
+ group_by {
categorical_dimension_field {
field_id = "89ccbbc4-cdf4-45d9-88ef-a70341c05ba8.6.1664288640814"
@@ -3764,7 +3870,7 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
}
}
}
- rows {
+ group_by {
categorical_dimension_field {
field_id = "8783cd59-0891-49ff-b328-3a38b1855bb6.0.1709327453902"
@@ -3774,92 +3880,84 @@ resource "aws_quicksight_analysis" "quicksight_analysis_prod_applications" {
}
}
}
- }
- }
- sort_configuration {
- field_sort_options {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_user_organization.1.1656511700288"
-
- sort_by {
- field {
- direction = "ASC"
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_user_organization.1.1656511700288"
- }
- }
- }
- field_sort_options {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_name.2.1656511719055"
+ group_by {
+ numerical_dimension_field {
+ field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_access_grant_enabled.7.1724857533205"
- sort_by {
- field {
- direction = "ASC"
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_name.2.1656511719055"
+ column {
+ column_name = "app_access_grant_enabled"
+ data_set_identifier = "prod_global_state_per_app"
+ }
}
}
- }
- field_sort_options {
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.report_date.0.1656511666014"
+ group_by {
+ date_dimension_field {
+ field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.report_date.0.1656511666014"
- sort_by {
- field {
- direction = "ASC"
- field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.report_date.0.1656511666014"
+ column {
+ column_name = "report_date"
+ data_set_identifier = "prod_global_state_per_app"
+ }
}
}
}
}
table_options {
- column_names_visibility = "VISIBLE"
- single_metric_visibility = "HIDDEN"
- toggle_buttons_visibility = "VISIBLE"
-
cell_style {
text_wrap = "WRAP"
height = 40
}
+ }
+ }
- column_header_style {
- text_wrap = "WRAP"
- height = 40
- }
+ conditional_formatting {
+ conditional_formatting_options {
+ cell {
+ field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_access_grant_enabled.7.1724857533205"
+ text_format {
+ icon {
+ custom_condition {
+ color = "#219FD7"
+ expression = "{app_access_grant_enabled} = 1"
- row_header_style {
- # BUG NOTE: With AWS provider v5.29.0
- # After a TF apply,
- # plan will show:
- # text_wrap -> "WRAP"
- # height = 0 -> 40
- text_wrap = "WRAP"
- height = 40
- horizontal_text_alignment = "CENTER"
- vertical_text_alignment = "TOP"
+ display_configuration {
+ icon_display_option = "ICON_ONLY"
+ }
- border {
- uniform_border {
- style = "SOLID"
- thickness = 1
+ icon_options {
+ icon = "CHECKMARK"
+ }
+ }
}
+ text_color {}
+ background_color { }
}
}
}
- total_options {
- column_subtotal_options {
- totals_visibility = "HIDDEN"
- }
- column_total_options {
- totals_visibility = "HIDDEN"
- }
- row_subtotal_options {
- totals_visibility = "HIDDEN"
- }
- row_total_options {
- custom_label = "Total"
- scroll_status = "PINNED"
- totals_visibility = "VISIBLE"
+ conditional_formatting_options {
+ cell {
+ field_id = "73bc51bc-79d0-43d6-8757-eae5d7dea826.app_access_grant_enabled.7.1724857533205"
+ text_format {
+ icon {
+ custom_condition {
+ color = "#DE3B00"
+ expression = "{app_access_grant_enabled} = 0"
+
+ display_configuration {
+ icon_display_option = "ICON_ONLY"
+ }
+
+ icon_options {
+ icon = "X"
+ }
+ }
+ }
+ text_color {}
+ background_color {}
+ }
}
}
}
-
subtitle {
visibility = "VISIBLE"
}
diff --git a/insights/terraform/projects/bb2/services/quicksight/variables.tf b/insights/terraform/projects/bb2/services/quicksight/variables.tf
index 1a8f6056cf..2b2740e8ff 100644
--- a/insights/terraform/projects/bb2/services/quicksight/variables.tf
+++ b/insights/terraform/projects/bb2/services/quicksight/variables.tf
@@ -85,3 +85,9 @@ variable "quicksight_groupname_admins" {
type = string
default = ""
}
+
+variable "data_set_perf_mon_id" {
+ description = "DataSet perf mon ID"
+ type = string
+ default = ""
+}