-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid launching ECS runs with large overrides (#8152)
Per the AWS docs: > A total of 8192 characters are allowed for overrides. This limit includes > the JSON formatting characters of the override structure. https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html This is a server-side restriction and consequently isn't enforced via botocore's stubber. This commit extends our existing ECS stub so we can unit test against this restriction. * Avoid launching ECS runs with large overrides When users have very large container contexts (for example, if they set many secrets), then we can run up against ECS's run task limits on request size. We don't actually need the container context to launch the run; only to create its task definition. So this strips the container context out of the command that gets passed to `dagster api execute_run` to keep our override commands smaller.
- Loading branch information
Showing
4 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters