Add more examples
This commit is contained in:
parent
ba1ab7fb3b
commit
b7ca4e1d05
1 changed files with 7 additions and 2 deletions
|
|
@ -103,8 +103,13 @@ inputs:
|
|||
custom-tags:
|
||||
description: >-
|
||||
Additional tags to apply to the assumed role session. Must be a JSON object provided using toJSON.
|
||||
Example: custom-tags: ${{ toJSON({ Environment: 'Production', Team: 'DevOps' }) }}
|
||||
You can include secrets: custom-tags: ${{ toJSON({ Team: secrets.TEAM_NAME }) }}
|
||||
Examples:
|
||||
# Inline object:
|
||||
custom-tags: "${{ toJSON({ 'Environment': 'Production', 'Team': 'DevOps' }) }}"
|
||||
# Using a variable:
|
||||
custom-tags: "${{ toJSON(vars.AWS_TAGS) }}"
|
||||
# With secrets:
|
||||
custom-tags: "${{ toJSON({ 'Team': secrets.TEAM_NAME }) }}"
|
||||
required: false
|
||||
|
||||
outputs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue