Combine AWS keys (#9679)

This commit is contained in:
Bobby Sudekum
2017-08-02 09:46:40 -07:00
committed by GitHub
parent 3faecfe2d5
commit ae1d9ecead

View File

@@ -130,22 +130,7 @@
}
]
}
}
]
}
},
"BuildUserKey": {
"Type": "AWS::IAM::AccessKey",
"Properties": {
"UserName": {
"Ref": "BuildUser"
}
}
},
"BitriseUser": {
"Type": "AWS::IAM::User",
"Properties": {
"Policies": [
},
{
"PolicyName": "get-signing-key",
"PolicyDocument": {
@@ -223,11 +208,11 @@
]
}
},
"BitriseUserKey": {
"BuildUserKey": {
"Type": "AWS::IAM::AccessKey",
"Properties": {
"UserName": {
"Ref": "BitriseUser"
"Ref": "BuildUser"
}
}
},
@@ -312,19 +297,6 @@
]
}
},
"BitriseAccessKeyId": {
"Value": {
"Ref": "BitriseUserKey"
}
},
"BitriseSecretAccessKey": {
"Value": {
"Fn::GetAtt": [
"BitriseUserKey",
"SecretAccessKey"
]
}
},
"AndroidInstanceProfile": {
"Value": {
"Fn::GetAtt": [