File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 88
88
slackToken :
89
89
description : Slack API token
90
90
required : false
91
+ secretParameters :
92
+ description : Secret parameters (plaint text or file) for cloudformation template. Limited security, scoped per CF stack.
93
+ required : false
91
94
92
95
jobs :
93
96
deploy :
@@ -192,7 +195,9 @@ jobs:
192
195
fi
193
196
194
197
OPTIONAL_PARAMETERS=""
195
- if [ "${{ inputs.parameters }}" != "" ]; then
198
+ if [ "${{ inputs.parameters }}" != "" ] && [ "${{ secrets.secretParameters }}" != "" ]; then
199
+ OPTIONAL_PARAMETERS="${OPTIONAL_PARAMETERS} --parameter-overrides ${{ inputs.parameters }} ${{ secrets.secretParameters }}"
200
+ elif [ "${{ inputs.parameters }}" != "" ] && [ "${{ secrets.secretParameters }}" == "" ]; then
196
201
OPTIONAL_PARAMETERS="${OPTIONAL_PARAMETERS} --parameter-overrides ${{ inputs.parameters }}"
197
202
fi
198
203
if [ "${{ inputs.capabilities }}" != "" ]; then
You can’t perform that action at this time.
0 commit comments