@@ -70,8 +70,8 @@ Parameters:
70
70
Description : Default Host Config IAM Role Name
71
71
Type : String
72
72
pSRASolutionName :
73
- AllowedValues : [sra-patch-mgmt]
74
- Default : sra-patch-mgmt
73
+ AllowedValues : [sra-patch-mgmt-org ]
74
+ Default : sra-patch-mgmt-org
75
75
Description : The SRA solution name. The default value is the folder name of the solution
76
76
Type : String
77
77
@@ -255,47 +255,9 @@ Resources:
255
255
Principal :
256
256
Service :
257
257
- ssm.amazonaws.com
258
- Path : " /"
259
- Policies :
260
- - PolicyName : sra-amazon-ssm-managed-ec2-instance-default-policy-passrole
261
- PolicyDocument :
262
- Version : 2012-10-17
263
- Statement :
264
- - Sid : AllowPassRoleSimple
265
- Effect : Allow
266
- Action : iam:PassRole
267
- Resource :
268
- - !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/AWSSystemsManagerDefaultEC2InstanceManagementRole
269
- - PolicyName : sra-amazon-ssm-managed-ec2-instance-default-policy
270
- PolicyDocument :
271
- Version : 2012-10-17
272
- Statement :
273
- Effect : Allow
274
- Action :
275
- - ssm:DescribeAssociation
276
- - ssm:GetDeployablePatchSnapshotForInstance
277
- - ssm:GetDocument
278
- - ssm:DescribeDocument
279
- - ssm:GetManifest
280
- - ssm:ListAssociations
281
- - ssm:ListInstanceAssociations
282
- - ssm:PutInventory
283
- - ssm:PutComplianceItems
284
- - ssm:PutConfigurePackageResult
285
- - ssm:UpdateAssociationStatus
286
- - ssm:UpdateInstanceAssociationStatus
287
- - ssm:UpdateInstanceInformation
288
- - ssmmessages:CreateControlChannel
289
- - ssmmessages:CreateDataChannel
290
- - ssmmessages:OpenControlChannel
291
- - ssmmessages:OpenDataChannel
292
- - ec2messages:AcknowledgeMessage
293
- - ec2messages:DeleteMessage
294
- - ec2messages:FailMessage
295
- - ec2messages:GetEndpoint
296
- - ec2messages:GetMessages
297
- - ec2messages:SendReply
298
- Resource : " *"
258
+ Path : " /service-role/"
259
+ ManagedPolicyArns :
260
+ - !Sub arn:${AWS::Partition}:iam::${AWS::Partition}:policy/AmazonSSMManagedEC2InstanceDefaultPolicy
299
261
Tags :
300
262
- Key : sra-solution
301
263
Value : !Ref pSRASolutionName
0 commit comments