Skip to content

Commit 3070702

Browse files
committed
update secret settings for assume-role
1 parent 5b8902f commit 3070702

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/terraform_workflow.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ on:
118118
ASSUME_ROLE:
119119
description: "ARN of the aws iam role to assume"
120120
required: false
121-
type: string
122-
default: "NA"
123121

124122
jobs:
125123
terraform-workflow:
@@ -159,6 +157,7 @@ jobs:
159157
role-skip-session-tagging: true
160158

161159
- name: 🟦 Assume IAM Role
160+
if: ${{ secrets.ASSUME_ROLE != '' }}
162161
env:
163162
IAM_ROLE: ${{ secrets.ASSUME_ROLE }}
164163
run: |

0 commit comments

Comments
 (0)