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

Support awsutils_ecs_runtask resource for run once tasks #13

Open
nitrocode opened this issue Aug 17, 2021 · 0 comments
Open

Support awsutils_ecs_runtask resource for run once tasks #13

nitrocode opened this issue Aug 17, 2021 · 0 comments

Comments

@nitrocode
Copy link
Member

nitrocode commented Aug 17, 2021

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

@nitrocode nitrocode changed the title Support aws_ecs_runtask resource for run once tasks Support awsutils_ecs_runtask resource for run once tasks Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant