aws-control-tower-customizations icon indicating copy to clipboard operation
aws-control-tower-customizations copied to clipboard

Stack Self Drifts

Open felipeamarante opened this issue 3 years ago • 1 comments
trafficstars

Describe the bug The template has a Lambda Backed Custom Resource (CustomControlTowerDeploymentLambda) that modifies the attribute of the S3 Bucket (CustomControlTowerPipelineS3Bucket) created by the same stack. Thus, causing a configuration drift and potential alerts and bigger issues. Is there any way to avoid that? Perhaps avoid custom resources that configure stack managed resources? Thx

To Reproduce Launch the Stack, check drift.

Expected behavior Expected behaviour is to have no configuration drifts after stack creation. This could cause other issues if we had any mechanisms to revert drifts automatically.

Please complete the following information about the solution:

  • [x] Version: v2.2.0
  • [x] Region: eu-west-1
  • [x] Was the solution modified from the version published on this repository? NO
  • [x] If the answer to the previous question was yes, are the changes available on GitHub? NO
  • [x] Have you checked your service quotas for the sevices this solution uses? N/A
  • [x] Were there any errors in the CloudWatch Logs? N/A

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

image

Additional context Add any other context about the problem here.

felipeamarante avatar Apr 04 '22 14:04 felipeamarante

Hey @felipeamarante, thanks for bringing this to our attention, I've opened a backlog with the team to tackle this issue.

balltrev avatar Apr 05 '22 20:04 balltrev