Skip to content

Commit

Permalink
Update s3_bucket_access.template
Browse files Browse the repository at this point in the history
  • Loading branch information
shirabendor-quali authored Jul 7, 2021
1 parent 1f13c3f commit 7beece8
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions jenkins/s3_bucket_access.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
}
},
"Resources": {
"S3ColonyJenkinsPolicy": {
"S3TorqueJenkinsPolicy": {
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyName": "CloudShellColony_Jenkins_S3Access",
"PolicyName": "Torque_Jenkins_S3Access",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [{
Expand Down Expand Up @@ -40,11 +40,11 @@
}]
},
"Roles": [{
"Ref": "ColonyJenkinsRole"
"Ref": "TorqueJenkinsRole"
}]
}
},
"ColonyJenkinsRole": {
"TorqueJenkinsRole": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
Expand All @@ -60,21 +60,20 @@
"Path": "/"
}
},
"ColonyJenkinsInstance2Profile": {
"TorqueJenkinsInstance2Profile": {
"Type": "AWS::IAM::InstanceProfile",
"Properties": {
"Path": "/",
"Roles": [{
"Ref": "ColonyJenkinsRole"
"Ref": "TorqueJenkinsRole"
}]
}
}
},
"Outputs": {
"IAMRoleInstanceProfile": {
"Description": "IAM Role Instance Profile name",
"Value": { "Ref": "ColonyJenkinsInstance2Profile" }
"Value": { "Ref": "TorqueJenkinsInstance2Profile" }
}
}
}

0 comments on commit 7beece8

Please sign in to comment.