-
Notifications
You must be signed in to change notification settings - Fork 740
Open
Labels
bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.
Description
Acknowledgements
- I have searched (https://github.com/aws/aws-sdk/issues?q=is%3Aissue) for past instances of this issue
- I have verified all of my SDK modules are up-to-date (you can perform a bulk update with
go get -u github.com/aws/aws-sdk-go-v2/...)
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
Labels
bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.