Skip to content

Commit 817cd9e

Browse files
feat(actions): update aws-actions/amazon-ecs-render-task-definition@v1 (#1547)
Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent eafac8e commit 817cd9e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5f07eab76e1851cbd4e07dea0f3ed53b304475bd
1+
0ae3bf578ea7b3c073260b3c4096016813d401ab

github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/awsactions/AmazonEcsRenderTaskDefinitionV1.kt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ import kotlin.collections.toTypedArray
3939
* @param dockerLabels Create/Override options inside dockerLabels. Each variable is key=value, you
4040
* can specify multiple variables with multi-line YAML.
4141
* @param command The command used by ECS to start the container image
42+
* @param envFiles S3 object arns to set env variables onto the container. You can specify multiple
43+
* files with multi-line YAML strings.
4244
* @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by
4345
* the binding
4446
* @param _customVersion Allows overriding action's version, for example to use a specific minor
@@ -81,6 +83,11 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor(
8183
* The command used by ECS to start the container image
8284
*/
8385
public val command: String? = null,
86+
/**
87+
* S3 object arns to set env variables onto the container. You can specify multiple files with
88+
* multi-line YAML strings.
89+
*/
90+
public val envFiles: List<String>? = null,
8491
/**
8592
* Type-unsafe map where you can put any inputs that are not yet supported by the binding
8693
*/
@@ -102,13 +109,15 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor(
102109
logConfigurationOptions: List<String>? = null,
103110
dockerLabels: List<String>? = null,
104111
command: String? = null,
112+
envFiles: List<String>? = null,
105113
_customInputs: Map<String, String> = mapOf(),
106114
_customVersion: String? = null,
107115
) : this(taskDefinition=taskDefinition, containerName=containerName, image=image,
108116
environmentVariables=environmentVariables,
109117
logConfigurationLogDriver=logConfigurationLogDriver,
110118
logConfigurationOptions=logConfigurationOptions, dockerLabels=dockerLabels,
111-
command=command, _customInputs=_customInputs, _customVersion=_customVersion)
119+
command=command, envFiles=envFiles, _customInputs=_customInputs,
120+
_customVersion=_customVersion)
112121

113122
@Suppress("SpreadOperator")
114123
override fun toYamlArguments(): LinkedHashMap<String, String> = linkedMapOf(
@@ -121,6 +130,7 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor(
121130
logConfigurationOptions?.let { "log-configuration-options" to it.joinToString("\n") },
122131
dockerLabels?.let { "docker-labels" to it.joinToString("\n") },
123132
command?.let { "command" to it },
133+
envFiles?.let { "env-files" to it.joinToString("\n") },
124134
*_customInputs.toList().toTypedArray(),
125135
).toTypedArray()
126136
)

0 commit comments

Comments
 (0)