Skip to content

AWS LakeFormation CatalogID for S3Tables #9618

@overflowz

Description

@overflowz

Describe the bug

When trying to grant permissions to LakeFormation and specifying --catalog-id as ${account_id}:s3tablescatalog/foo, it fails with error:

An error occurred (InvalidInputException) when calling the GrantPermissions operation: Catalog id must be a valid AWS account id.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

grant-permissions should also accept s3tablescatalog catalog ids.

Current Behavior

An error occurred (InvalidInputException) when calling the GrantPermissions operation: Catalog id must be a valid AWS account id.

Reproduction Steps

aws lakeformation grant-permissions --region XXX --resource '{"Catalog":{}}' --catalog-id "${account_id}:s3tablescatalog/foo" --permissions "SUPER_USER" --principal "DataLakePrincipalIdentifier=role_arn"

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.27.60 Python/3.13.5 Linux/6.15.8

Environment details (OS name and version, etc.)

Arch Linux

Metadata

Metadata

Labels

bugThis issue is a bug.lakeformationp2This is a standard priority issueservice-apiThis issue is due to a problem in a service API, not the SDK implementation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions