You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `resource_requirements` variable is supported by the
`aws_ecs_task_definition` resource. This allows users to specify the
type and amount of resources (like GPUs) to assign to a container.
| <aname="input_region"></a> [region](#input\_region)| AWS Region for S3 bucket |`string`|`null`| no |
318
318
| <aname="input_repo_name"></a> [repo\_name](#input\_repo\_name)| GitHub repository name of the application to be built and deployed to ECS |`string`|`""`| no |
319
319
| <aname="input_repo_owner"></a> [repo\_owner](#input\_repo\_owner)| GitHub Organization or Username |`string`|`""`| no |
320
+
| <aname="input_resource_requirements"></a> [resource\_requirements](#input\_resource\_requirements)| The type and amount of a resource to assign to a container. The only supported resource is a GPU. | <pre>list(object({<br/> type = string<br/> value = string<br/> }))</pre> |`null`| no |
320
321
| <aname="input_runtime_platform"></a> [runtime\_platform](#input\_runtime\_platform)| Zero or one runtime platform configurations that containers in your task may use.<br/>Map of strings with optional keys `operating_system_family` and `cpu_architecture`.<br/>See `runtime_platform` docs https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_task_definition#runtime_platform|`list(map(string))`|`[]`| no |
321
322
| <aname="input_secrets"></a> [secrets](#input\_secrets)| The secrets to pass to the container. This is a list of maps | <pre>list(object({<br/> name = string<br/> valueFrom = string<br/> }))</pre> |`null`| no |
322
323
| <aname="input_service_registries"></a> [service\_registries](#input\_service\_registries)| The service discovery registries for the service. The maximum number of service\_registries blocks is 1. The currently supported service registry is Amazon Route 53 Auto Naming Service - `aws_service_discovery_service`; see `service_registries` docs https://www.terraform.io/docs/providers/aws/r/ecs_service.html#service_registries-1| <pre>list(object({<br/> registry_arn = string<br/> port = optional(number)<br/> container_name = optional(string)<br/> container_port = optional(number)<br/> }))</pre> |`[]`| no |
description="The type and amount of a resource to assign to a container. The only supported resource is a GPU."
160
+
default=null
161
+
}
162
+
153
163
variable"system_controls" {
154
164
type=list(map(string))
155
165
description="A list of namespaced kernel parameters to set in the container, mapping to the --sysctl option to docker run. This is a list of maps: { namespace = \"\", value = \"\"}"
0 commit comments