Skip to content

Provide documentation for managing copilot files with multiple repositories #5395

@ghost

Description

It seems there is a gap in explaining how the copilot files are best managed in a multi-repo scenario.
If you have services in multiple repos, you won't want to duplicate your copilot env manifests, so I'm assuming a separate infra repo is the answer.
But to access the containers, you will need to either:

  • Build docker images from individual service repos into ECR, and then hand off to the infra repo to deploy, passing along the image to use. But copilot commands don't seem to support just the ECR upload step alone.
  • Move or copy dockerfiles into the infra repo (Neither sounds good)
  • Checkout the service repos to gain access to the dockerfiles, or else curl the dockerfiles from Github.

I'm not sure why this is not addressed in the docs. The various walkthroughs online conveniently assume all your services are in the same repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/documentationIssues for improvements or additions to documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions