Skip to content

S3Control ListTagsForResource is broken in EU Boundary #3287

@mateuszsoltys99-spec

Description

@mateuszsoltys99-spec

Acknowledgements

Describe the bug

An issue was encountered when using s3control.ListTagsForResource. The command runs correctly in regular regions (tested on eu-north-1), but fails on eusc-de-east-1

Regression Issue

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

Expected Behavior

Method should return an object with tags

Current Behavior

Error containing "MethodNotAllowed: The specified method is not allowed against this resource" is returned instead

Reproduction Steps

Following snippet of code demonstrates this issue. It works on eu-north-1 and returns the mentioned error on eusc-de-east-1 (buckets are in matching regions)

region := "eusc-de-east-1"
ctx := context.TODO()
resourceArn := "REDACTED"
accountId := "REDACTED"
client := s3control.NewFromConfig(ctg)
input := s3control.ListTagsForResourceInput {
AccountId: &accountId, ResourceArn: &resourceArn,}
resource, err := client.ListTagsForResource(ctx, &input)

Possible Solution

No response

Additional Information/Context

Might have a similar or the same cause as an issue in Hashicorp AWS Terraform Provider

AWS Go SDK V2 Module Versions Used

github.com/aws/aws-sdk-go-v2/config v1.32.7
github.com/aws/aws-sdk-go-v2/service/s3control v1.67.3

Compiler and Version used

1.25.2

Operating System and version

macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions