theinnercircle/Deploy ECS Service

Flexible ECS deployment supporting single container, multi-container, and migration patterns

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
environmentTarget environment (e.g., test1, test6, acceptance1)yes
serviceService name (e.g., backend, admin, sockets, imgresize)yes
cluster_nameECS cluster name (defaults to theic-{environment})no""
service_nameECS service name (defaults to theic-{environment}-{service})no""
aws_regionAWS regionyes
aws_account_idAWS account IDyes
containersJSON array of containers to deploy. Each container should have: - name: Container name in task definition - image: Image name (without tag/SHA) - image_tag: Docker image tag/SHA Example single container: '[{"name": "ic-sockets", "image": "ic-sockets", "image_tag": "sha-abc123"}]' Example multi-container (webserver + app): '[ {"name": "ic-backend-webserver", "image": "ic-app-webserver", "image_tag": "sha-abc123"}, {"name": "ic-backend", "image": "ic-app", "image_tag": "sha-abc123"} ]' yes
run_migrationsWhether to run migrations before deploymentnofalse
migration_task_definitionTask definition name for migrations (e.g., theic-test1-adminpanel-task)no""
migration_container_nameContainer name in migration task definitionnoic-task
migration_commandCommand to run for migrations (e.g., "php artisan migrate --force")nophp artisan migrate --force
migration_imageImage to use for migrations (without tag)no""
migration_image_tagImage tag for migrationsno""
manage_desired_countWhether to manage desired count (scale up if 0)nofalse
wait_for_stabilityWait for service stability after deploymentnotrue
propagate_tagsPropagate tags (TASK_DEFINITION, SERVICE, or NONE)noSERVICE
namedescription
task-definition-arnARN of the deployed task definition
desired-countDesired count used for deployment (if managed)