serverless-heaven / serverless-aws-alias

Alias support for Serverless 1.x
MIT License
189 stars 68 forks source link

Use separate role per alias. Fix user resource detection. #37

Closed HyperBrain closed 7 years ago

HyperBrain commented 7 years ago

Fixes #36

Now every aliased function uses the alias role. That allows to deploy different role configurations per alias. It improves adding new resources with permissions on a separate branch.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-2.7%) to 15.045% when pulling e6a7f38f2bfa1a13c28ceeba94130ee1683fef96 on iam-roles-per-alias into c129c03f6fbcf19defa81b189949370d7cdfef82 on master.

HyperBrain commented 7 years ago

Something's badly broken with Travis: "npm test" on Travis only executes one test file, wheras it tests everythiong when run locally.... investigating

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-2.7%) to 15.045% when pulling 308e57847790790e15b7ff97a0c7a082d1a340f1 on iam-roles-per-alias into c129c03f6fbcf19defa81b189949370d7cdfef82 on master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+37.006%) to 54.734% when pulling 8f3539db36f3cca9ada8db42b81909c076dfeb83 on iam-roles-per-alias into c129c03f6fbcf19defa81b189949370d7cdfef82 on master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+37.1%) to 54.864% when pulling a78d9b3daa86afab67ad7f0cb246a466bb9c2645 on iam-roles-per-alias into c129c03f6fbcf19defa81b189949370d7cdfef82 on master.