You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error on calling GetResourceShare. Looks like it is trying to hit an incorrect endpoint? ram..amazon.aws.com (with two .s after ram). I am not sure why that is.
operation error RAM: GetResourceShares, https response error StatusCode: 0, RequestID: , request send failed, Post "https://ram..amazonaws.com/getresourceshares": dial tcp: lookup ram..amazonaws.com: no such hosterr ===> error in creating ram share client operation error RAM: GetResourceShareAssociations, https response error StatusCode: 0, RequestID: , request send failed, Post "https://ram..amazonaws.com/getresourceshareassociations": dial tcp: lookup ram..amazonaws.com: no such host
I first faced this in the latest version (1.24.0). Then on switching versions I got the same error from 1.22.2 onwards. Trying a version before that gives the following error.
error in creating ram share client not found, ResolveEndpointV2
Expected Behavior
Expected behaviour is just to get a list of resources owned by a resource owner (SELF in my case).
You are not specifying a region. https://ram..amazonaws.com/getresourceshareassociations
needs to be https://ram.<region>.amazonaws.com/getresourceshareassociations
RanVaknin
added
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
p2
This is a standard priority issue
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Feb 16, 2024
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Describe the bug
I am getting the following error on calling GetResourceShare. Looks like it is trying to hit an incorrect endpoint?
ram..amazon.aws.com
(with two .s after ram). I am not sure why that is.operation error RAM: GetResourceShares, https response error StatusCode: 0, RequestID: , request send failed, Post "https://ram..amazonaws.com/getresourceshares": dial tcp: lookup ram..amazonaws.com: no such hosterr ===> error in creating ram share client operation error RAM: GetResourceShareAssociations, https response error StatusCode: 0, RequestID: , request send failed, Post "https://ram..amazonaws.com/getresourceshareassociations": dial tcp: lookup ram..amazonaws.com: no such host
I first faced this in the latest version (1.24.0). Then on switching versions I got the same error from 1.22.2 onwards. Trying a version before that gives the following error.
error in creating ram share client not found, ResolveEndpointV2
Expected Behavior
Expected behaviour is just to get a list of resources owned by a resource owner (SELF in my case).
Current Behavior
Current behaviour is the error I am facing.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
ran this code in a enterprise env.
AWS Go SDK V2 Module Versions Used
tried with all from github.com/aws/aws-sdk-go-v2/service/ram v1.22.2 to github.com/aws/aws-sdk-go-v2/service/ram v1.24.0
Compiler and Version used
go version go1.21.2 darwin/arm64
Operating System and version
macos 14.3
The text was updated successfully, but these errors were encountered: