Skip to content

Commit 2169897

Browse files
authored
Merge pull request #229 from edx/revert-228-NIXKnight/DOS-6008
Revert "chore: update assume role session duration to 4 hours"
2 parents e45ec9e + 2155ac7 commit 2169897

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:-14400}" # Default to 4 hours if not specified
15+
DURATIONSECONDS="${2:-3600}"
1616

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

0 commit comments

Comments
 (0)