Closed akshayrane closed 2 years ago
A more complete reproducible example will help us debug this issue. Notably, if you could provide how you are defining your database and/or table.
You should also use the LakeFormation API (probably easiest through the AWS CLI) to call ListPermissions on a table that you create through the console and one that you create via CDK. If the responses are the same, then this is just a transient issue. If they are different, it may point to you to what you need to change.
In any case, this is most likely not a CDK issue and more likely a CloudFormation or LakeFormation issue.
Reproduction Steps
Using the following snippet in CDK application intermittently creates issues with RAM resource share that's created internally.
What did you expect to happen?
What actually happened?
This issue happens intermittently with CDK, and not when grant is done via LF Console.
Environment
Other
The issue was faced intermittently. Some of the resource shares went through, and for some we faced the principals and resources disappearing issue.
This is :bug: Bug Report