Skip to content

Support awsutils_ecs_runtask resource for run once tasks #13

@nitrocode

Description

@nitrocode

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

resource "awsutils_ecs_runtask" "db_migration" {
  # must have arguments
  cluster         = "<value>"
  task_definition = ""
  launch_type     = "FARGATE"
  initial_count   = 1

  # keepers or triggers
  triggers = {
    for file in fileset("${path.module}../db/*") :
    file => file
  }

  # optional
  capacity_provider_strategy = "<value>"
  execute_command            = true
  group                      = "<value>"
  network_configuration      = "<value>"
  overrides                  = "<value>"
  placement_constraints      = "<value>"
  placement_strategy         = "<value>"
  platform_version           = "<value>"
  propagate_tags             = "<value>"
  reference_id               = "<value>"
  started_by                 = "<value>"

  tags = { tag_key = "tag_value" }
}

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions