Skip to content

Support IsolationMode and RunAs #3

@daaru00

Description

@daaru00

Add support of IsolationMode and RunAs configuration.

Configuration proposal (defaults):

custom:
  greengrass:
    groupId: 'xxxxxxxxxxxxxxxxxxxxxxx'
    defaults:
      isolationMode: 'GreengrassContainer'
      runAs:
        uid: 1
        gid: 10

Configuration proposal (defaults with override):

custom:
  greengrass:
    groupId: 'xxxxxxxxxxxxxxxxxxxxxxx'
    defaults:
      isolationMode: 'NoContainer'

functions:
  myfunction:
    handler: tasks/dummy/task.handler
    greengrass:
      isolationMode: 'GreengrassContainer'
      runAs:
        uid: 1
        gid: 10

Default behavior can be GreengrassContainer. Default value can be thread at DefaultConfig property instead of assign it to every functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions