- 
                Notifications
    
You must be signed in to change notification settings  - Fork 262
 
Open
Description
According to AWS ECS RunTask documentation, to run a task in a cluster's default capacity provider you need to leave both CapacityProviderStrategy and LaunchType blank:
If no capacityProviderStrategy or launchType is specified, the defaultCapacityProviderStrategy for the cluster is used.
Unfortunately, that is not possible to be achieved with this action. The following configuration results in LaunchType being set to FARGATE:
     - name: Deploy and run
        uses: aws-actions/[email protected]
        with:
          task-definition: $TD
          service: $SERVICE
          cluster: $CLUSTER
          wait-for-service-stability: true
          run-task: true
          run-task-subnets: $SUBNETS
          run-task-security-groups: $SECURITY_GROUPS
          run-task-launch-type: ''
Metadata
Metadata
Assignees
Labels
No labels