Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

Check for supported serverless version #15

Merged
merged 6 commits into from
Jun 16, 2017
Merged

Conversation

sbstjn
Copy link
Contributor

@sbstjn sbstjn commented Jun 16, 2017

The plugin only works for serverless versions larger or equal 1.13.2 (See #14) and we should check the used serverless version when the plugin is initialized.

With this PR we show a warning when an outdated serverless version is used:

Serverless: Skipping `serverless-dynamodb-ttl` plugin. Please update to serverless `1.13.2` or newer

DynamoDB TTL settings are included in aws-sdk since version 2.21.

serverless 1.15.3
 => aws-sdk 2.71.0
 
serverless 1.13.2
 => aws-sdk 2.50.0
 
serverless 1.13.0
 => aws-sdk 2.7.13

@sbstjn sbstjn force-pushed the check-serverless-version branch from dd384f1 to 67760a4 Compare June 16, 2017 07:44
Copy link
Contributor

@HenrikFricke HenrikFricke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙆

@sbstjn sbstjn merged commit 3c72ec2 into master Jun 16, 2017
@sbstjn sbstjn deleted the check-serverless-version branch June 16, 2017 12:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants