-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
43 lines (42 loc) · 1.26 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "Configure AWS Credentials by Assuming Roles"
description: "Easily configure AWS credential and region environment variables"
author: "Ichinose Shogo"
inputs:
github-token:
description: "The GITHUB_TOKEN generated by github-actions"
default: "${{ github.token }}"
required: true
aws-region:
description: "AWS Region, e.g. us-east-2"
required: true
role-to-assume:
description: >-
Use the provided credentials to assume an IAM role and configure the Actions
environment with the assumed role credentials
required: true
role-duration-seconds:
description: "Role duration in seconds (default: 1 hour, maximum: 1 hour)"
default: 3600
required: true
role-session-name:
description: "Role session name (default: GitHubActions)"
default: GitHubActions
required: true
role-session-tagging:
description: "enable session tagging"
default: false
required: true
provider-endpoint:
description: "URL for credential provider"
required: false
use-node-id:
description: "Use the node id of the repository instead of its name"
required: true
default: false
runs:
using: "node20"
main: "action/lib/index.js"
post: "action/lib/cleanup.js"
branding:
icon: "cloud"
color: "blue"