Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
Describe the issue
If it is related to an existing check, please note the relevant check ID.
Also, explain the logic for this addition / change.
ckv_aws_237
Examples
Please share an example code sample (in the IaC of your choice) + the expected outcomes.
We have 2 resources as part of the main apigateway.tf
As terraform note says : Note that Terraform propagates and applies the create_before_destroy meta-attribute behaviour to all resource dependencies
That being said, ckv_aws_237 should pass for the above code because aws_api_gateway_deployment resource has the lifecycle on it.
Version (please complete the following information):
Checkov Version [e.g. 22]
3.2.65 version
Additional context
Add any other context about the problem here.
Describe the issue If it is related to an existing check, please note the relevant check ID. Also, explain the logic for this addition / change. ckv_aws_237
Examples Please share an example code sample (in the IaC of your choice) + the expected outcomes. We have 2 resources as part of the main apigateway.tf
and the dependency
As terraform note says : Note that Terraform propagates and applies the create_before_destroy meta-attribute behaviour to all resource dependencies That being said, ckv_aws_237 should pass for the above code because aws_api_gateway_deployment resource has the lifecycle on it.
Version (please complete the following information):