Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #340/c9b1b02e backport][stable-4] ecs_service - support setting deployment controller on a service #1303

Commits on Jul 4, 2022

  1. ecs_service - support setting deployment controller on a service (#340)

    ecs_service - support setting deployment controller on a service
    
    SUMMARY
    Support setting platform version to 1.4.0 (LATEST is 1.3.0) and deployment controller.
    The first allows access to new 1.4.0 features. The second change allows you to create a service that can be controlled with Code Deploy.
    Example:
      - name: create a Fargate service
        community.aws.ecs_service:
          state: present
          name: "my-service"
          cluster: "my-cluster"
          platform_version: 1.4.0
          task_definition: "my-task"
          desired_count: "1"
          launch_type: FARGATE
          scheduling_strategy: REPLICA
          deployment_controller:
            type: CODE_DEPLOY
          load_balancers:
            - targetGroupArn: "arn:..."
              containerName: example
              containerPort: 80
          network_configuration:
            subnets:
              - "{{vpc_zone_a.subnet.id}}"
              - "{{vpc_zone_b.subnet.id}}"
            security_groups:
              - "sg-example"
            assign_public_ip: true
    
    This fixes #338.
    ISSUE TYPE
    
    Feature Pull Request
    
    Reviewed-by: Jill R <None>
    Reviewed-by: Mark Chappell <None>
    Reviewed-by: Markus Bergholz <[email protected]>
    (cherry picked from commit c9b1b02)
    berenddeboer authored and patchback[bot] committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    945ca82 View commit details
    Browse the repository at this point in the history