Commit 09c19866 authored by Farid Neshat's avatar Farid Neshat

Add cloudformation stack

parent 226b263a
Pipeline #455 failed with stage
in 1 minute and 28 seconds
{
"AWSTemplateFormatVersion": "2010-09-09",
"Parameters" : {
"HubotRoleARNParameter": {
"Type" : "String",
"Description" : "Enter the role ARN of Hubot. For example: arn:aws:iam::107717073352:role/hubot_iam_role"
}
},
"Resources": {
"IAMRole": {
"Type": "AWS::IAM::Role",
"Properties": {
"RoleName": "nilo-v1",
"AssumeRolePolicyDocument": {
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": [{
"Ref": "HubotRoleARNParameter"
}]
},
"Action": [
"sts:AssumeRole"
]
}
]
},
"ManagedPolicyArns": ["arn:aws:iam::aws:policy/ReadOnlyAccess"]
}
}
},
"Outputs" : {
"Role" : {
"Description": "The ARN of the role we just created",
"Value" : { "Fn::GetAtt" : [ "IAMRole", "Arn" ]}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment