- Newest
- Most votes
- Most comments
Hello,
I understand that your AWS System Manager Inventory Collection & Managed Instances configurations is stuck in 'Pending' Status.
The Inventory Association status can remain in pending status if:
-
There are no instances in the selected AWS Region
-
Insufficient permissions:
An inventory association shows Pending if one or more instances don't have permission to run Systems Manager Inventory.
For instances that already have instance profiles attached. Make sure you choose the option "Add required IAM policies to existing instance profiles attached to your instances." during configuration for Quick Setup to add IAM policies to the instance profiles attached to the instance.
You can also edit the Quick Setup configuration to enable the option. See step below:
-
Open the AWS Systems Manager console at https://console.aws.amazon.com/systems-manager/
-
In the navigation pane, choose Quick Setup
-
Choose the Quick Setup Configuration you want to edit
-
Choose View details
-
Choose Action and select Edit Configuration Options
-
Under Instance profile options select Add required IAM policies to existing instance profiles attached to your instances
Policy:
AmazonSSMManagedInstanceCore
, allows an instance to use Systems Manager service core functionalityPolicy:
AmazonSSMDirectoryServiceAccess
, is required only if you plan to join Amazon EC2 instances for Windows Server to a Microsoft AD directory. -
Choose Update
Refer to this AWS Doc to walk through on more detailed steps on how to Upgrade you AWS SSM Agent using the Run Commnad.
I hope this information is helpful.
The documentation steps had already been done. For the association of collectInventory to pass, a Public IP or equivalent VPC endpoint was required. However, once the CollectInvetory Association has cleared, we have now a Pending Status on UpdateCloudwatchAgent. Any idea on how this can be updated to success?
Relevant content
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago