What should the company do to accomplish these goals?
Create an AWS Lambda function to deploy the CloudFormation templates in the required order. Use stack policies to alert the data engineering team.
Host the CloudFormation templates in Amazon S3. Use Amazon S3 events to directly trigger CloudFormation updates and Amazon SNS notifications.
Implement CloudFormation StackSets and use drift detection to trigger update alerts to the data engineering team.
Leverage CloudFormation nested stacks and stack sets for deployments. Use Amazon SNS to notify the data engineering team.
Explanations:
While using a Lambda function to deploy templates in order could work, stack policies are not intended to notify teams about changes. Stack policies are designed to prevent certain changes, not to trigger notifications.
Amazon S3 events can trigger actions like Lambda functions but cannot directly trigger CloudFormation updates. Additionally, while Amazon SNS can be used for notifications, this option does not efficiently address the requirement of deployment order.
CloudFormation StackSets is useful for multi-account and multi-Region deployments, but drift detection is used to check if resources have deviated from their expected configuration. It does not directly address the deployment order or notify teams about template changes.
Leveraging CloudFormation nested stacks and StackSets allows for more efficient deployments with a controlled order. Nested stacks enable breaking down templates into smaller, manageable components. Additionally, Amazon SNS can be used to notify the data engineering team about changes.