0.1.0 • Published 2 months ago

serverless-plugin-import-resources v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

serverless-plugin-import-resources

This is highly experimental, use at your own risk.

This plugin in ment to help importing resources into an existing stack

Currently handled resources types

  • AWS::S3::Bucket
  • AWS::DynamoDB::Table

More types will be added later

Configuration

Configuration happens 'globally' (via custom.importExistingResources) and is a list of resources to import by logical id

Examples

The importing an existing S3 bucket:

custom:
  importExistingResources:
    - myS3ressource

resources:
  Resources:
    myS3ressource:
      Type: AWS::S3::Bucket
      Properties:
        BucketName: myS3ressource
      DeletionPolicy: Retain

Usage

The stack must be allready existing

  sls import
0.1.0

2 months ago