Skip to content

Commit e45ec9e

Browse files
authored
Merge pull request #228 from edx/NIXKnight/DOS-6008
chore: update assume role session duration to 4 hours
2 parents b49ab4d + ebc3470 commit e45ec9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/jenkins/assume-role.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ assume-role() {
1212
set +x
1313
ROLE_ARN="${1}"
1414
SESSIONID=$(date +"%s")
15-
DURATIONSECONDS="${2:-3600}"
15+
DURATIONSECONDS="${2:-14400}" # Default to 4 hours if not specified
1616

1717
RESULT=(`aws sts assume-role --role-arn $ROLE_ARN \
1818
--role-session-name $SESSIONID \

0 commit comments

Comments
 (0)