Skip to content

Conversation

@mishraomp
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 25, 2025 21:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the ECS task invocation and strengthens the resume script by pre-checking resource existence.

  • Fixes a mismatch in the Flyway task definition name used by aws ecs run-task
  • Adds checks in the resume script to skip non-existent ECS clusters/services

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
infrastructure/api/ecs.tf Updated --task-definition argument to remove -task suffix
.github/scripts/resume.sh Added AWS CLI checks for cluster and service existence
Comments suppressed due to low confidence (1)

infrastructure/api/ecs.tf:111

  • The task definition name ${var.app_name}-flyway no longer matches the resource family (which is defined with a -flyway-task suffix). Please ensure this value exactly matches the registered task definition name.
        --task-definition ${var.app_name}-flyway \

@mishraomp mishraomp merged commit c510559 into main Jun 25, 2025
20 checks passed
@mishraomp mishraomp deleted the fix/issues branch June 25, 2025 21:54
@mishraomp mishraomp self-assigned this Jun 25, 2025
@mishraomp mishraomp added the bug Something isn't working label Jun 25, 2025
@mishraomp mishraomp moved this from New to Done in NRIDS - Architecture Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants