lakeformation_permissions: Throws "no permissions found" error if no permissions_with_grant_options property is used #19064
Labels
bug
Addresses a defect in current functionality.
service/lakeformation
Issues and PRs that pertain to the lakeformation service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
As per the documentation, the
permissions_with_grant_option
is optional (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lakeformation_permissions#permissions_with_grant_option)And creating resource without that option should work as expected.
Actual Behavior
Without that option a few things happen:
│ Error: error reading Lake Formation permissions: no permissions found
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: