Lakeformation table permissions need to be alphabetically ordered - otherwise aws_lakeformation_permissions stay out of sync #19465
Labels
service/lakeformation
Issues and PRs that pertain to the lakeformation service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
3.42
Terraform Configuration Files
Expected Behavior
replanning after apply doesnt show changes
Actual Behavior
module.database["grp2"].aws_lakeformation_permissions.db_perm[0] must be replaced
-/+ resource "aws_lakeformation_permissions" "db_perm" {
~ id = "466990021" -> (known after apply)
~ permissions = [ # forces replacement
- "DESCRIBE",
"SELECT",
+ "DESCRIBE",
]
~ permissions_with_grant_option = [] -> (known after apply)
Steps to Reproduce
apply above resource and plan again
The text was updated successfully, but these errors were encountered: