Commit Graph

89 Commits

Author SHA1 Message Date
Release Automation
ee662900a5 chore(release): 1.2.0 v1.2.0 2020-03-06 01:00:32 +00:00
Clare Liguori
db6655e0af chore: Update docs around AssumeRole permissions (#41) 2020-03-05 11:28:21 -08:00
GitHub Actions
82c08e4055 chore: Update dist 2020-03-05 19:17:06 +00:00
mergify[bot]
816f5cc0cf fix: mask both source and role credentials (#40) 2020-03-05 19:16:24 +00:00
GitHub Actions
a5771a059f chore: Update dist 2020-03-05 06:57:07 +00:00
Clare Liguori
dc0dd17052 chore: Bump @zeit/ncc from 0.21.0 to 0.21.1 (#30)
Bumps [@zeit/ncc](https://github.com/zeit/ncc) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/zeit/ncc/releases)
- [Commits](https://github.com/zeit/ncc/compare/0.21.0...0.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-04 22:34:04 -08:00
dependabot-preview[bot]
9f5d66e392 Merge pull request #38 from aws-actions/dependabot/npm_and_yarn/actions/core-1.2.3 2020-03-05 06:33:19 +00:00
dependabot-preview[bot]
fb645e2d6b chore: Bump @actions/core from 1.2.2 to 1.2.3
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/master/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-05 06:32:10 +00:00
dependabot-preview[bot]
64d137fefc Merge pull request #37 from aws-actions/dependabot/npm_and_yarn/aws-sdk-2.633.0 2020-03-05 06:29:27 +00:00
dependabot-preview[bot]
af8cbf10db chore: Bump aws-sdk from 2.613.0 to 2.633.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.613.0 to 2.633.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.613.0...v2.633.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-05 06:26:51 +00:00
Clare Liguori
da090bd22d chore: setup automatic merging 2020-03-04 22:23:23 -08:00
GitHub Actions
3c4f95f73f chore: Update dist 2020-03-04 22:25:30 +00:00
Clare Liguori
96c6f7e07b feat: infer role ARN if given role name (#35) 2020-03-04 14:24:55 -08:00
GitHub Actions
47312577c9 chore: Update dist 2020-03-03 02:12:02 +00:00
Clare Liguori
1c435bbd5e feat: Add option to provide external ID (#32)
Fixes #28
2020-03-02 18:11:27 -08:00
Chuan-Yen Chiang
4d0082acf8 feat: Have an ability to configure session name (#29)
* 1. Add 'role-session-name' variable to action.yml
2. Configure roleSessionName with role-session-name from action or default value (GitHubActions)

* Add description on README.md

* update README.md

* update dist/index.js

* add test code

* update context based on comments
2020-03-01 11:47:10 -08:00
Clare Liguori
058322d68a chore(docs): add example of using aws cli 2020-02-12 17:53:12 -08:00
Release Automation
18a20dfee9 chore(release): 1.1.2 v1.1.2 2020-02-12 02:22:18 +00:00
GitHub Actions
9b3e97711b chore: Update dist 2020-02-12 02:16:58 +00:00
Laurence Armstrong
55f6a14016 fix: change sanitization character from '*' to '_' 2020-02-11 18:16:28 -08:00
Release Automation
e8a907912d chore(release): 1.1.1 v1.1.1 2020-02-07 17:33:45 +00:00
GitHub Actions
3a0d6924fb chore: Update dist 2020-02-06 21:05:04 +00:00
dependabot-preview[bot]
d317dedbb3 chore: Bump aws-sdk from 2.610.0 to 2.613.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.610.0 to 2.613.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.610.0...v2.613.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 13:04:18 -08:00
Release Automation
d15e9e3279 chore(release): 1.1.0 v1.1.0 2020-02-06 01:44:18 +00:00
Clare Liguori
260c6cc0ed fix: remove buildspecs 2020-02-04 15:39:05 -08:00
Clare Liguori
1436a160af fix: remove release script 2020-02-04 12:17:38 -08:00
GitHub Actions
a4a9d2530c chore: Update dist 2020-02-04 02:15:07 +00:00
dependabot-preview[bot]
1e5e67d2bc chore: Bump @actions/core from 1.2.0 to 1.2.2
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/master/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 18:14:31 -08:00
GitHub Actions
5eb8c27349 chore: Update dist 2020-02-04 02:12:53 +00:00
dependabot-preview[bot]
3ea5fc971d chore: Bump aws-sdk from 2.598.0 to 2.610.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.598.0 to 2.610.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.598.0...v2.610.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 18:12:03 -08:00
dependabot-preview[bot]
52de4c7182 chore: Bump jest from 24.9.0 to 25.1.0
Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 25.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.9.0...v25.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 18:10:10 -08:00
Clare Liguori
adc64e45b8 chore: Match package version to latest tagged version 2020-02-03 18:00:28 -08:00
GitHub Actions
a8ef869f65 chore: Update dist 2020-02-03 18:20:52 +00:00
Laurence Armstrong
ca04437296 Fix calling setSecret 2020-02-03 13:20:13 -05:00
Clare Liguori
77f2df7a41 fix: resolve commit ID in integ test script 2020-02-02 12:20:20 -05:00
Clare Liguori
3de962edc9 fix: create workflows dir in integ-tests 2020-01-31 16:51:26 -05:00
GitHub Actions
344f5cbe7e chore: Update dist 2020-01-31 02:34:18 +00:00
Laurence Armstrong
4faf8cd19a fix: sanitize AWS session tags (#20)
* Sanitize github actor tag

* Add some tests

* Sanitize Github actions workflow name

* Change sanitization character to an asterisk

* Update readme about assuming a role

* Tidy up assume role readme entry more

* Align sanitize spelling to use -ize

* typo: environement -> environment
2020-01-30 21:33:36 -05:00
Clare Liguori
c69f29a23c Remove sudo from codebuild steps 2020-01-30 16:30:31 -05:00
Clare Liguori
52bc82a29b feat: Build and integ test scripts for pipeline 2020-01-30 16:16:17 -05:00
GitHub Actions
8cff48fde9 chore: Update dist 2020-01-28 14:50:47 +00:00
Laurence Armstrong
e2fd53ab66 fix: set role credentials as secrets to mask them in logs (#19)
* Set role credentials as secrets to mask them in logs

* Always set aws credentuals as secrets

* Fix typo in comment
2020-01-28 09:50:15 -05:00
GitHub Actions
7b221d2e08 chore: Update dist 2020-01-22 19:04:40 +00:00
Matt Bullock
25960ab095 feat: add support for assuming a role (#17)
* first draft attempt at adding role assumption option

* refinements

* const not var

* clean up asserts

* set explicit sts endpoint and clarify required inputs error message

* streamline mocks

* add new inputs to Action definition

* ignore .idea directory

* add initial assume role test

* make tests fail usefully when not in GitHub Actions

* add logic to handle suppression of stack trace

* pull credentials exports out into function

* convert environment variable patching to use object for source and add needed members

* add test for STS call

* compartmentalization and use custom user agent in role assumption STS client

* change DO_NOT_SUPRESS_STACK_TRACE to SHOW_STACK_TRACE

* update role-to-assume input description
2020-01-22 11:04:03 -08:00
GitHub Actions
e3c83cfe60 chore: Update dist 2020-01-06 20:38:44 +00:00
dependabot-preview[bot]
cf2cbf51d2 chore: Bump aws-sdk from 2.597.0 to 2.598.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.597.0 to 2.598.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.597.0...v2.598.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 12:37:55 -08:00
GitHub Actions
6f58251f8d chore: Update dist 2020-01-06 20:28:06 +00:00
dependabot-preview[bot]
d3c4189f16 chore: Bump aws-sdk from 2.596.0 to 2.597.0
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.596.0 to 2.597.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.596.0...v2.597.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 12:27:37 -08:00
dependabot-preview[bot]
4f6148fd2d chore: Bump @zeit/ncc from 0.20.5 to 0.21.0
Bumps [@zeit/ncc](https://github.com/zeit/ncc) from 0.20.5 to 0.21.0.
- [Release notes](https://github.com/zeit/ncc/releases)
- [Commits](https://github.com/zeit/ncc/compare/0.20.5...0.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 12:27:23 -08:00
GitHub Actions
5f791d0fc5 chore: Update dist 2020-01-01 23:27:33 +00:00