Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-04-09 16:03:05 -07:00
parent 90936c450f
commit b13ac200f3
3 changed files with 18 additions and 15 deletions

View File

@ -29,13 +29,16 @@ import (
roleArn: string | *""
containerOverrides: {
"containerOverrides": [{
containerOverrides: [{
name: containerName
if len(containerCommand) > 0 {
"command": containerCommand
command: containerCommand
}
if len(containerEnvironment) > 0 {
"environment": [ for k, v in containerEnvironment {"name": k, "value": v}]
environment: [ for k, v in containerEnvironment {
name: k
value: v
}]
}
}]
if roleArn != "" {