- Newest
- Most votes
- Most comments
May be worth referring to this for fixing:
https://docs.aws.amazon.com/systems-manager/latest/userguide/quick-setup-patch-manager.html
https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager.html
https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-policies.html
Hello,
Good day.!
Thank you for raising this question regarding the issue about adding the tag to the IAM role with Patch Policy. After testing this in a lab environment, I can confirm that this is neither a known limitation nor a bug — the behavior is working as expected and is documented in the official AWS Systems Manager User Guide.
Root Cause
When deploying a patch policy using Quick Setup, there is an "Instance profile options" section that controls how IAM roles and instance profiles are handled. If this option is unchecked, Quick Setup will not:
Attach the required policy to the IAM role, or Modify the tag associated with the IAM role As a result, the State Manager association created by the patch policy will not have the necessary permissions to function correctly, which leads to the error you observed.
This behavior is by design and is documented in the AWS official documentation: 👉 Configure patching for instances in an organization using a Quick Setup patch policy – Instance profile and service role options
Addressing Your Specific Questions
Is this a known limitation or a confirmed bug? — No. This is expected behavior based on the configuration option selected during deployment. The "Instance profile options" setting explicitly controls whether Quick Setup modifies the IAM role, and unchecking it intentionally skips that step.
Is there a planned fix to auto-handle existing IAM roles during Quick Setup? — No fix is needed. The existing "Instance profile options" checkbox already provides this control. Ensuring it is checked will allow Quick Setup to automatically handle IAM role configuration.
Can the error message be improved to guide users toward the correct resolution? — This is valuable feedback. A clearer error message that explicitly points users to the "Instance profile options" setting in Quick Setup would significantly reduce confusion. We appreciate the suggestion and encourage you to submit it via the AWS documentation feedback mechanism.
Will this be added to the official Patch Manager troubleshooting documentation? — Great suggestion! Adding a note about the impact of the "Instance profile options" checkbox on IAM role configuration to the official troubleshooting docs would benefit the broader community. For reference, the relevant configuration options are already described in the Quick Setup Patch Manager documentation shared above.
Relevant content
- asked a year ago
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
