aidenkihyunkim / aws-lambda-update-route53-record-to-ec2-public-ip-python3 Goto Github PK
View Code? Open in Web Editor NEWAWS Lambda function for updating Route53 record when public ip of EC2 instance.
License: MIT License
AWS Lambda function for updating Route53 record when public ip of EC2 instance.
License: MIT License
First: thanks for your lambda script. But i've stumbled into a little error. I tried to change the CloudWatch rule to add some instance ID's. As soon as I want to save the rule, I get the following error:
"There was an error while saving rule serverlessrepo-Update-Rou-UpdateRoute53RecordToEc2-1GD7M49G9D2VE.
Details: 1 validation error detected: Value 'AWSEvents_serverlessrepo-Update-Rou-UpdateRoute53RecordToEc2-1GD7M49G9D2VE_UpdateRoute53RecordToEc2PublicIpEC2StateChangeEventLambdaTarget' at 'statementId' failed to satisfy constraint: Member must have length less than or equal to 100."
it appears the eventname is too long thanks to the long rulename. 100 is the max and the eventname is 139. When I create a new rule with a shorter name, link it to lambda it all works like a charm...
Perhaps some default names can be shortened?
Thanks again!
Getting the following error when trying to install the app
Resource handler returned message: "The runtime parameter of python3.6 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (python3.9) while creating or updating functions. (Service: Lambda, Status Code: 400, Request ID: xxxxx )" (RequestToken: xxxxxxx , HandlerErrorCode: InvalidRequest)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.