Using dynamic defaults with QuickSight and Terraform

0

Hello, I try to implement the dynamic defaults feature of QuickSight (see Parameters default values) using Terraform.

This is an extract of the relevant .tf file:

...
parameter_declarations {
      string_parameter_declaration {
        name                 = "ReportDatetimeParameter"
        parameter_value_type = "SINGLE_VALUED"
        default_values {
          dynamic_value {        
            user_name_column {
              data_set_identifier = aws_quicksight_data_set.qs_dynamic_defaults_dataset.id
              column_name         = "Username"
            }
            default_value_column {
              data_set_identifier = aws_quicksight_data_set.qs_dynamic_defaults_dataset.id
              column_name         = "Default value"
            }
          }
        }
      }
    }
...

However, when I apply this, I get back the error that at least 1 group_name_column block is needed, although the documentation of Quicksight clearly says that this parameter is not required (see API).

Any ideas how to tell the API that I want to use only username for the dynamic default? In the console, you have the possibility to select None: Enter image description here

AWS
已提問 10 個月前檢視次數 40 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南