terraform-aws-alb icon indicating copy to clipboard operation
terraform-aws-alb copied to clipboard

Add lifecycle support to module

Open mInrOz opened this issue 1 year ago β€’ 0 comments

Im currently working in a AWS env that is managed by the AWS LZA (Landing Zone Accelerator). Where I have a config rule to enable logging on all Load Balancers that is deployed.

The current workflow is so that logging is not specified in Terraform as this is handled by AWS Config / SSM. This however causes unnecessary changes to the resource each time the TF code is applied, as there is a difference between the resource deployed and specified in TF code.

Because of this i propose adding the capability of defining a lifecycle policy to this module. Instead of having it hardcoded as it currently is in v9.7.0

mInrOz avatar Feb 13 '24 02:02 mInrOz