copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Creating svc with db addon and running into errors.

Open matheww-waymark opened this issue 3 years ago • 0 comments

Hello running into a weird error where after creating a new env for an existing service that has a aurora db addon. Take note I don't have any problems with this with the past two env's created. Unfortunately the build on my CLI is stuck and it only gets resolved if I delete the CloudFormation job.

- Creating the infrastructure for stack lighthouse-dev-stage-frontend                [rollback complete]  [259.9s]
  The following resource(s) failed to create: [EnvControllerAction]. Rol
  lback requested by user.
  - An IAM Role for App Runner to use on your behalf to pull your image from ECR     [delete complete]    [3.7s]
  - An Addons CloudFormation Stack for your additional AWS resources                 [review in progress]  [1100.2s]
    - An IAM ManagedPolicy for your service to access the DB credentials secret      [not started]
    - A Secrets Manager secret to store your DB credentials                          [not started]
    - A DB parameter group for engine configuration values                           [not started]
    - A security group for your DB cluster lighthouseprodaurorapg                    [not started]
    - The lighthouseprodaurorapg Aurora Serverless database cluster                  [not started]
  - Update your environment's shared resources                                       [delete complete]    [3.7s]
    Received response status [FAILED] from custom resource. Message return
    ed: Resource is not in the state stackUpdateComplete (Log: /aws/lambda
    /lighthouse-dev-stage-fronten-EnvControllerFunction-N2BVItG6H7VU/2022/
    10/07/[$LATEST]d832b07cbce4405bbc7dd036a523c9f3) (RequestId: 6bf74bb4-
    1975-4047-bb82-53005c35b791)
  - An IAM role to update your environment stack                                     [delete complete]    [4.5s]
  - Allow ingress from the app runner service to services in your environment        [delete complete]    [3.7s]
  - An IAM role to control permissions for the containers in your service            [not started]
  - A security group for your addons/ resources to allow ingress from your service   [delete complete]    [7.8s]
  - An App Runner service to run and manage your containers                          [not started]
  - A VPC connector to link your service to subnets in your environment              [not started]```

matheww-waymark avatar Oct 07 '22 17:10 matheww-waymark