Skip to content

[Resource Type] - [BUG] - AWS::S3Tables::TableBucket incorrect Return value #2418

@alessandrobologna

Description

@alessandrobologna

Name of the resource

Other

Resource Name

AWS::S3Tables::TableBucket

Issue Description

The !Ref for this resource seems to return the ARN of the table bucket, not just the name. The docs state that:

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the table bucket name.

which is what I would expect normally.
The only other attribute listed as available with GetAtt is TableBucketARN which of course is returning he ARN. Not having access to the name requires splitting of the arn which is annoying.

Expected Behavior

!Ref returns the name of the s3 table bucket

Observed Behavior

!Ref returns the ARN instead

Test Cases

In the output section:
Outputs:
TableBucketName:
Description: S3 Tables Table Bucket Name
Value: !Ref IcebergTableBucket
Export:
Name: my-stack-TableBucketName

Then check the export and see the ARN instead of the name

Other Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions