Unable Connect do STS if using a VPC #4301
Labels
bug
This issue is a confirmed bug.
closed-for-staleness
p2
This is a standard priority issue
response-requested
Waiting on additional information or feedback.
sts
Describe the bug
When I attempt to send an STS message from a Lambda function in a VPC, I encounter a timeout issue. I tried using the VPC Link, but it didn’t work.
This solution resolved the problem:
assumed_role = boto3.client( "sts", endpoint_url=f"https://sts.{os.environ['AWS_REGION']}.amazonaws.com", )
Expected Behavior
Successfully executed
boto3
'ssts.get_caller_identity()
.Current Behavior
Received a timeout error.
Reproduction Steps
Create a VPC without internet access, add an STS interface endpoint, and then attempt to call
boto3
'ssts.get_caller_identity()
.The text was updated successfully, but these errors were encountered: