Terraform aws lakeformaion datalake settings issue

Hello. I’m try to deploy aws lakeformation through terraform but through but it said principle arn has not supported here. need suggestion or any alternative option through which I can provide default table and database permission. for example

resource "aws_lakeformation_data_lake_settings" "example" {

admins = [aws_iam_user.test.arn, aws_iam_role.test.arn]

create_database_default_permissions {

permissions = ["SELECT", "ALTER", "DROP"]
principal   = aws_iam_user.test.arn  <-- it is not supported here

  }

create_table_default_permissions {

permissions = ["ALL"]
principal   = aws_iam_role.test.arn  <-- it is not supported here

} }