awslambda: explicitly specify json-file log driver
This is analogous to #2635.
This commit is contained in:
parent
b54d3b5a11
commit
ed81e36faf
@ -409,6 +409,7 @@ class LambdaFunction(BaseModel):
|
|||||||
volumes=["{}:/var/task".format(data_vol.name)],
|
volumes=["{}:/var/task".format(data_vol.name)],
|
||||||
environment=env_vars,
|
environment=env_vars,
|
||||||
detach=True,
|
detach=True,
|
||||||
|
log_config=docker.types.LogConfig(type=docker.types.LogConfig.types.JSON),
|
||||||
**run_kwargs
|
**run_kwargs
|
||||||
)
|
)
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user