turbot/terraform_aws_compliance

Control: API Gateway Deployment should have create_before_destroy enabled

Description

This control checks whether AWS API Gateway Deployment 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 API, avoiding an outage.

Usage

Run the control in your terminal:

powerpipe control run terraform_aws_compliance.control.apigateway_deployment_create_before_destroy_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run terraform_aws_compliance.control.apigateway_deployment_create_before_destroy_enabled --share

SQL

This control uses a named query:

apigateway_deployment_create_before_destroy_enabled

Tags