Skip to content

Commit

Permalink
allow jenkins to assume roles which is useful to deploy something on aws
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Oct 4, 2016
1 parent f910855 commit 594a85f
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
28 changes: 28 additions & 0 deletions jenkins/jenkins2-ha-agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,20 @@
]
}]
}
}, {
"PolicyName": "sts",
"PolicyDocument":{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"sts:AssumeRole"
],
"Resource": [
"*"
]
}]
}
}]
}
},
Expand Down Expand Up @@ -920,6 +934,20 @@
]
}]
}
}, {
"PolicyName": "sts",
"PolicyDocument":{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"sts:AssumeRole"
],
"Resource": [
"*"
]
}]
}
}]
}
},
Expand Down
14 changes: 14 additions & 0 deletions jenkins/jenkins2-ha.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,20 @@
]
}]
}
}, {
"PolicyName": "sts",
"PolicyDocument":{
"Version": "2012-10-17",
"Statement": [{
"Effect": "Allow",
"Action": [
"sts:AssumeRole"
],
"Resource": [
"*"
]
}]
}
}]
}
},
Expand Down

0 comments on commit 594a85f

Please sign in to comment.