Start/Stop EC2 using Lambda function #10516
Answered
by
mdazfar2
NitishKumar525
asked this question in
Q&A
|
I am configuring lambda function to Start/Stop Ec2 instance from the aws doc https://repost.aws/knowledge-center/start-stop-lambda-eventbridge but i am geeting below error while test the code.
I am not able to find the doc related to the issue. Please help what i am doing wrong. |
Answered by
mdazfar2
Sep 3, 2024
Replies: 1 comment 1 reply
|
The error message you're encountering suggests there's an issue with the endpoint URL. The region name you provided seems incorrect. AWS regions typically follow the format us-east-2, us-east-2c is not a valid region name. |
1 reply
Answer selected by
NitishKumar525
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error message you're encountering suggests there's an issue with the endpoint URL. The region name you provided seems incorrect. AWS regions typically follow the format us-east-2, us-east-2c is not a valid region name.