Skip to content

Instantly share code, notes, and snippets.

@deleugpn
Created December 30, 2018 17:13
Show Gist options
  • Save deleugpn/0acd88e0c7b88ef0e66ab2c22074df7c to your computer and use it in GitHub Desktop.
Save deleugpn/0acd88e0c7b88ef0e66ab2c22074df7c to your computer and use it in GitHub Desktop.
aws ecs run-task \
--cluster your_cluster_name \
--task-definition your_task_definition_name-artisan \
--overrides "{\"containerOverrides\":[{\"name\":\"artisan\",\"command\":[\"php\",\"/app/artisan\",\"$1\"]}]}" \
--launch-type FARGATE \
--network-configuration file://$(pwd)/amazon/network.json \
--profile your_aws_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment