Closed QuinnCiccoretti closed 5 years ago
Looking into it now.
I see what's going on here now. Think I need to find a better way to obtain the correct isolation mode.
This an issue in both the deployment code and the update code.
In deployments, the default isolation mode is set to no container when it makes sense. But it is left NULL if the default is the Greengrass container.
In updates, the default value is assumed to be present.
Proposed fixes:
This works for me now but please re-open this if you run into any trouble. Thanks for reporting it!
According to the command line docs, I set up a group with the python hello world:
And a second group with the python http function:
I then attempted to add the python http function to the first group:
(UNIQUEALIAS is not a placeholder, it's literally what I used, which was unique for my function)
This operation succesfully pulls the most recent docker image and then generates the following error.
In the Lambda console, the test-group2-HTTPPython function does have the UNIQUEALIAS listed under qualifiers. However, the lambda has not been added to test-group. I am using the docker version of the provisioner on Ubuntu 18.04 and a freshly cloned version of the aws-greengrass-lambda repository.