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 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则