Skip to content

import existing resources into new stack #1699

@gdw2

Description

@gdw2

Describe your idea/feature/enhancement

I wish SAM CLI could import existing CF resources as documented here: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-new-stack.html#resource-import-new-stack-cli

Specific use case: Destroying a stack leaves some persistent resources (e.g. a database) that could be incorporated into a new stack.

Proposal

Add a --resources-to-import argument to sam deploy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions