Sha256: 3aa73dfbef14f0adf54092b19e335668612535cddcfc6d40d7d1dbdd3d411d41

Contents?: true

Size: 1.63 KB

Versions: 4

Compression:

Stored size: 1.63 KB

Contents

<%%
  # replace with actual values:
  @subnets = ["subnet-111","subnet-222"]
  @security_groups = ["sg-111"]
%>
# These params are passsed to the corresponding aws-sdk ecs client methods.
# AWS Docs example: https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ECS/Client.html#run_task-instance_method
#
# Comments left in as examples.
# Uncomment launch_type and network_configuration sections to enable fargate.
#

create_service:
  deployment_configuration:
    maximum_percent: 200
    minimum_healthy_percent: 100
  desired_count: 1
  # launch_type: "FARGATE"
  # network_configuration:
  #   awsvpc_configuration:
  #     subnets: <%%= @subnets.inspect %> # required
  #     security_groups: <%%= @security_groups.inspect %>
  #     assign_public_ip: "ENABLED" # accepts ENABLED, DISABLED

# update service is provide as an example below.  Though it is probably better
# to not add any options to update_service if you are using the ECS console
# to update these settings often.
update_service:
  # force_new_deployment: true
  # deployment_configuration:
  #   maximum_percent: 200
  #   minimum_healthy_percent: 100
  # desired_count: 1
  # launch_type: "FARGATE"
  # network_configuration:
  #   awsvpc_configuration:
  #     subnets: <%%= @subnets.inspect %> # required
  #     security_groups: <%%= @security_groups.inspect %>
  #     assign_public_ip: "ENABLED" # accepts ENABLED, DISABLED

run_task:
  # launch_type: "FARGATE"
  # network_configuration:
  #   awsvpc_configuration:
  #     subnets: <%%= @subnets.inspect %> # required
  #     security_groups: <%%= @security_groups.inspect %>
  #     assign_public_ip: "ENABLED" # accepts ENABLED, DISABLED

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ufo-3.4.3 lib/ufo/upgrade/params.yml
ufo-3.4.2 lib/ufo/upgrade/params.yml
ufo-3.4.1 lib/ufo/upgrade/params.yml
ufo-3.4.0 lib/ufo/upgrade/params.yml