aws-samples / aws-samples/data-lake-as-code

starterAdminPermission Invalid principal

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
173
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Build scripts call `aws sts get-caller-identity` and then generate role arn by user arn. Looks very strange - why role name should be related with current user name? Could you please add explanation about this? For now I got error: `starterAdminPermission Invalid principal, arn: arn:aws:iam::111111111111:role/user.name (Service: AWSLakeFormation; Status Code: 400; Error Code: InvalidInputException; Request ID: 32d6e4c9-a0e3-4af9-a938-521737333d7a; Proxy: null)`

Could you please post iam role definition to create it manually?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.