I'm not sure how to configure/define where my docker hub image hosts the image to be deployed?
Hello @evanmorgan and thank you for reaching out to Community!
You can define the image used by the containers in your ECS deployment by creating a task definition json file and pushing it to your repository. You can find the task definition template in AWS's documentation :
Then you need to configure the pipe's variable TASK_DEFINITION with the path of the task definition json file within your repository.
The following example considers a task-definition.json file in the root of the repository :
script: - pipe: atlassian/aws-ecs-deploy:1.7.0 variables: AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION: 'us-east-1' CLUSTER_NAME: 'my-ecs-cluster' SERVICE_NAME: 'my-ecs-service' TASK_DEFINITION: 'task-definition.json'
You can find more details and examples of using the atlassian/aws-ecs-deploy on its official documentation:
Thank you, @evanmorgan !
Patrik S
It looks like you're new here. Sign in or register to get started.