From ae1d9eceadb0c7ab556b76e746af567e0a0b9835 Mon Sep 17 00:00:00 2001 From: Bobby Sudekum Date: Wed, 2 Aug 2017 09:46:40 -0700 Subject: Combine AWS keys (#9679) --- cloudformation/travis.template | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) (limited to 'cloudformation') diff --git a/cloudformation/travis.template b/cloudformation/travis.template index 29f2402b20..db4e59eb7e 100644 --- a/cloudformation/travis.template +++ b/cloudformation/travis.template @@ -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": [ -- cgit v1.2.1