gradle-aws-plugin | Gradle plugin to manage Amazon Web Services | AWS library
kandi X-RAY | gradle-aws-plugin Summary
kandi X-RAY | gradle-aws-plugin Summary
[Join the chat at Gradle plugin to manage AWS resources.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Apply templates to Amazon SN file .
- Create an environment .
- Parse an object into a collection of IpPermission objects .
- Waits until an environment is available .
- Wait for the cluster to execute .
- Waits until an instance is available .
- Updates a Lambda function .
- Creates the template .
- Creates a database instance .
- Executes the change set .
gradle-aws-plugin Key Features
gradle-aws-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on gradle-aws-plugin
QUESTION
We have several lambda functions, and I've automated code deployment using the gradle-aws-plugin-reboot plugin.
It works great on all but one lambda functions. On that particular one, I'm getting this error:
...ANSWER
Answered 2021-Dec-09 at 10:42I figured it out. You better not hold anything in your mouth, because this is hilarious!
Basically being all out of options, I locked on to the last discernible difference between this deployment and the ones that worked: The filesize of the jar being deployed. The one that failed was by far the smallest. So I bloated it up by some 60% to make it comparable to everything else... and that fixed it!
This sounds preposterous. Here's my hypothesis on what's going on: If the upload takes too little time, the lambda somehow needs longer to change its state. I'm not sure why that would be, you'd expect the state to change when things are done, not to take longer if things are done faster, right? Maybe there's a minimum time for the state to remain? I wouldn't know. There's one thing to support this hypothesis, though: The deployment from my local computer always worked. That upload would naturally take longer than jenkins needs from inside the aws vpc. So this hypothesis, as ludicrous as it sounds, fits all the facts that I have on hand.
Maybe somebody with a better understanding of the lambda-internal mechanisms can add a comment to this explaining how this can happen...
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gradle-aws-plugin
You can use gradle-aws-plugin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the gradle-aws-plugin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page