How to automatically patch EC2 instances created from CloudFormation Stacks using SSM patch manager

0

We have EC2 instances created via CloudFormation. If we use SSM patch manager to automatically patch these instances, will that cause drifts to the CF stack?

AWS2024
已提問 3 個月前檢視次數 206 次
1 個回答
0
已接受的答案

Hello.

CloudFormation drift checks differences in AWS settings (instance type, EBS type, etc.), so drift does not occur with information inside the EC2 OS.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html

CloudFormation detects drift on those AWS resources that support drift detection. Resources that don't support drift detection are assigned a drift status of NOT_CHECKED. For a list of AWS resources that support drift detection, see Resources that support import and drift detection operations.

profile picture
專家
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南