Control: ACM certificate should have create before destroy enabled
Description
This control checks whether ACM certificate has create before destroy enabled. It is recommended to enable the resource lifecycle configuration block create_before_destroy argument in this resource configuration to manage all requests that use this certificate, avoiding an outage.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.acm_certificate_create_before_destroy_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.acm_certificate_create_before_destroy_enabled --share
SQL
This control uses a named query:
acm_certificate_create_before_destroy_enabled