Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

Remove components should care about component dependencies #16

@yugasun

Description

@yugasun

If component A depends on component B, so B will be deployed firstly, then will be A.
But when removing all components, syncState function only remove them in parallel. When removing B, sometimes B will say "I have relevant resources A, you should delete it firstly", so the remove action will fail.
This is the source code: https://github.com/serverless/template/blob/master/utils.js#L333

For this part, could we add a retry method to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions