Skip to content

copilot hangs during copilot init --app #4827

Open
@ustrahlendorf

Description

Hi there,
I started to explore Copilot last week. Walk through the following workshop: I liked it and works well.
I cleaned up the deployments including deleting the app.
Want to start a new run but unfortunately the copilot init --app command hangs now for about 45minutes and I have no idea what went wrong. Here is the log from the command line:
uwes@MBP3-us work-folder % copilot init --app module1 --dockerfile svc-api-markdown/Dockerfile --name svc-api-markdown --type "Load Balanced Web Service"

Note: It's best to run this command in the root of your Git repository.
Welcome to the Copilot CLI! We're going to walk you through some questions
to help you get set up with a containerized application on AWS. An application is a collection of
containerized services that operate together.

Note: Looks like you're creating an application using credentials set by environment variables.
Copilot will store your application metadata in this account.
We recommend using credentials from named profiles. To learn more:
https://aws.github.io/copilot-cli/docs/credentials/

Ok great, we'll set up a Load Balanced Web Service named svc-api-markdown in application module1 listening on port 9090.

✔ Proposing infrastructure changes for stack module1-infrastructure-roles

  • Creating the infrastructure for stack module1-infrastructure-roles [create complete] [38.3s]
    • A StackSet admin role assumed by CloudFormation to manage regional stacks [create complete] [13.7s]
    • An IAM role assumed by the admin role to create ECR repositories, KMS keys, and S3 buckets [create complete] [13.2s]
      ✔ The directory copilot will hold service manifests for application module1.

Note: Architecture type arm64 has been detected. We will set platform 'linux/x86_64' instead. If you'd rather build and run as architecture type arm64, please change the 'platform' field in your workload manifest to 'linux/arm64'.
✔ Wrote the manifest for service svc-api-markdown at copilot/svc-api-markdown/manifest.yml
Your manifest contains configurations like your container size and port (:9090).

  • Update regional resources with stack set "module1-infrastructure" [failed] [72.2s]
    • Update resources in region "eu-west-1" [not started]

In my account I see the module1-infrastructure-roles stack as created complete but nothing else.

Any hints would be appreciated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area/UIIssues about UItype/enhancementIssues that are improvements for existing features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions