Skip to content

Commit e7ac28c

Browse files
committed
Enhance condition to check for null ROLE variable in assume role step
1 parent e5c6f94 commit e7ac28c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

azure/components/aws-assume-role.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ steps:
9393
AWS_ACCOUNT: ${{ parameters.aws_account }}
9494
PROFILE: ${{ parameters.profile }}
9595
displayName: assume role
96-
condition: and(succeeded(), ne(variables['ROLE'], ''))
96+
condition: and(succeeded(), ne(variables['ROLE'], ''), ne(variables['ROLE'], null))

0 commit comments

Comments
 (0)