awslambda: explicitly specify json-file log driver
This is analogous to #2635.
This commit is contained in:
parent
b54d3b5a11
commit
ed81e36faf
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue