1
0
Fork 0
mirror of synced 2026-06-05 16:05:14 +00:00

Add more examples

This commit is contained in:
Sylvain Verly 2025-03-20 16:53:29 +01:00 committed by Tom Keller
commit b7ca4e1d05

View file

@ -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: