Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
package-authoring
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
a
astonishing-gpu-37274
05/25/2020, 8:23 AM
Here's the entire log of an example stack update I attempt creating a lambda
out.txt
I think what happens is there's a retry timeout of 1 minute here
https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/resource_aws_lambda_function.go#L402
and since it takes more than 1 minute to create the lambda, there's one retry attempt that runs the create function routine again, which leads to the error. A simple solution would be to increase the timeout to at least the timeout of the AWS API call IMHO
OK I solved the issue by moving all the node_modules into a lambda layer, so now the CreateFunction for a lambda finishes much faster, so I don't hit the timeout bug
#aws
Join Slack