Greetings, noticed these errors while trying to deploy existing Lambda:
In BasicTutorials.md:
"Where the conf file existingLambda.conf contains the name of the existing Lambda functions".
conf {
functions = ["HelloWorldPython1:live","HelloWorldPython2:live"]
}"
That is actually not a function name, but ARN. So writing function name there will give an error (that function deployment conf is missing), until you add a wildcard symbol ~ before name, or write full ARN url
If function name consists of several words connected by dash symbol (-), then deployment will return an error, until you put only the last word from function name.
Greetings, noticed these errors while trying to deploy existing Lambda:
That is actually not a function name, but ARN. So writing function name there will give an error (that function deployment conf is missing), until you add a wildcard symbol ~ before name, or write full ARN url
According to docs, have to add env variable to existing Lambda in AWS:
If function name consists of several words connected by dash symbol (-), then deployment will return an error, until you put only the last word from function name.
Example: Existing AWS Lambda name: "test-group-myFunction".
Will return error code 400: [ERROR] AwsGreengrassProvisioner: The functions definition is invalid or corrupted. (ErrorDetails: [Invalid environment key name]) (Service: Greengrass, Status Code: 400 ... )
Need to rename to
functionName = "myFunction"
to deploy successfully