{"id":19174957,"url":"https://github.com/dtaniwaki/terraform-codepipeline-run-task","last_synced_at":"2026-05-06T18:31:42.958Z","repository":{"id":49339046,"uuid":"517374311","full_name":"dtaniwaki/terraform-codepipeline-run-task","owner":"dtaniwaki","description":"Terraform module to run a task in codepipeline","archived":false,"fork":false,"pushed_at":"2022-08-03T05:46:00.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-10T02:29:25.930Z","etag":null,"topics":["aws","codepipeline","ecs","terraform"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dtaniwaki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-24T16:17:06.000Z","updated_at":"2022-09-06T02:42:35.000Z","dependencies_parsed_at":"2022-09-02T12:25:04.782Z","dependency_job_id":null,"html_url":"https://github.com/dtaniwaki/terraform-codepipeline-run-task","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dtaniwaki/terraform-codepipeline-run-task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaniwaki%2Fterraform-codepipeline-run-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaniwaki%2Fterraform-codepipeline-run-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaniwaki%2Fterraform-codepipeline-run-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaniwaki%2Fterraform-codepipeline-run-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtaniwaki","download_url":"https://codeload.github.com/dtaniwaki/terraform-codepipeline-run-task/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtaniwaki%2Fterraform-codepipeline-run-task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283921118,"owners_count":26916743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-11T02:00:06.610Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","codepipeline","ecs","terraform"],"created_at":"2024-11-09T10:19:57.684Z","updated_at":"2025-11-11T19:37:39.733Z","avatar_url":"https://github.com/dtaniwaki.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-codepipeline-run-task\n\n## Usage\n\ne.g.\n\n```tf\nresource \"aws_ecs_cluster\" \"app\" {\n  ...\n}\n\nresource \"aws_ecs_task_definition\" \"app_db_migration\" {\n  ...\n}\n\nmodule \"run_task\" {\n  source = \"codepipeline_run_task/modules\"\n\n  name                = \"app-db-migration\"\n  task_definition_arn = aws_ecs_task_definition.app_db_migration.arn\n}\n\n\nresource \"aws_codepipeline\" \"app_deploy\" {\n  name     = \"app-deploy\"\n\n  ...\n\n  stage {\n    name = \"deploy\"\n\n    action {\n      name            = \"db-migration\"\n      category        = \"Invoke\"\n      owner           = \"AWS\"\n      provider        = \"Lambda\"\n      version         = \"1\"\n      input_artifacts = [\"SourceArtifact\"]\n      run_order       = 1\n\n      configuration = {\n        FunctionName = module.run_task.lambda_function_name\n        UserParameters = jsonencode({\n          cluster              = aws_ecs_cluster.app.name\n          taskDefinitionFamily = aws_ecs_task_definition.app_db_migration.family\n          containerName        = \"app-db-migration\"\n          networkConfiguration = {\n            \"awsvpcConfiguration\" : {\n              \"subnets\" : var.private_subnet_ids,\n              \"securityGroups\" : [aws_security_group.app.id],\n              \"assignPublicIp\" : \"DISABLED\",\n            }\n          }\n          overrides = {\n          }\n        })\n      }\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtaniwaki%2Fterraform-codepipeline-run-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtaniwaki%2Fterraform-codepipeline-run-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtaniwaki%2Fterraform-codepipeline-run-task/lists"}