Skip to content

Commit

Permalink
Closes #1 add relevatnt lifecycle hooks for commands that reach out t…
Browse files Browse the repository at this point in the history
…o aws
  • Loading branch information
maafk committed Oct 2, 2019
1 parent c54116d commit af8ae41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ class ServerlessPrivateAWSRegions {
'before:deploy:deploy': this.prepRegion.bind(this),
'before:remove:remove': this.prepRegion.bind(this),
'before:deploy:function:initialize': this.prepRegion.bind(this),
'before:invoke:invoke': this.prepRegion.bind(this),
'before:info:info': this.prepRegion.bind(this),
'before:rollback:initialize': this.prepRegion.bind(this),
'before:logs:logs': this.prepRegion.bind(this),
'after:aws:package:finalize:mergeCustomProviderResources': this.updatePrincipals.bind(
this
)
Expand Down

0 comments on commit af8ae41

Please sign in to comment.