Open sudipw opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
I thought it might be something like this:
resource "aws_lakeformation_data_lake_settings" "example" {
admins = [data.aws_iam_role.admin.arn]
create_database_default_permissions {
permissions = ["ALL"]
principal = "arn:aws:iam::123456789012:role/example-role-name"
}
}
But this throws me the following error:
Error: creating Lake Formation data lake settings: creating Lake Formation data lake settings: InvalidInputException: Create Database Default not supported for principal
The documentation above from amazon seem to suggest that the only valid value on the principal attribute is IAM_ALLOWED_PRINCIPALS which is a bit weird.
Description
We are trying to create the Database creators for AWS Lake formation Administration tasks. But not able to figure out how we can do this using terraform code. Below are the screenshot for reference.
Requested Resource(s) and/or Data Source(s)
AWS Lake formation Administrative settings
Potential Terraform Configuration
No response
References
No response
Would you like to implement a fix?
None