Deprecated: The rule has been added to the official tflint-ruleset-aws.
tflint plugin that ensures lifecycle create_before_destroy
is set to
true
for acm certificates as per aws_acm_certificate
official docs:
It's recommended to specify
create_before_destroy = true
in a lifecycle block to replace a certificate which is currently in use
If you don't add this, terraform will timeout when trying to replace a certificate that's in use at the moment of apply.