You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
When using array of Json which has dynamic keys (key are set from variables., hence dynamic)
and using it in the resource / module to set the attributes via for_each checkov scan takes extremely long time, if i replace the dynamic key with static keys it works fine, but this is our customers terraform and asking them to use static keys is not a solution.
This started happening since version 3.2.305, the scan that would take couple minutes is now taking more than 25 minutes. The prior version works perfectly fine taking only couple minutes to scan the entire IaC.
Examples
Please share an example code sample (in the IaC of your choice) + the expected outcomes.
The below is just a sample, our code uses this approach for several resources that gets created in the IaC, several such list in different locals for different modules, approx > 100 elements
locals{
dynamodb = {
"${var.ddb_profdata}" : {
},
"${var.ddb_userdata}":{
},
"${
}
}
Version (please complete the following information):
Additional context
We are seeing lot of noise in output, the debug log size which generally is under 20 Mb is now 500 mb
Failed updating attribute for key: {key} and value {attribute_value} for
The text was updated successfully, but these errors were encountered:
Describe the issue
When using array of Json which has dynamic keys (key are set from variables., hence dynamic)
and using it in the resource / module to set the attributes via for_each checkov scan takes extremely long time, if i replace the dynamic key with static keys it works fine, but this is our customers terraform and asking them to use static keys is not a solution.
This started happening since version 3.2.305, the scan that would take couple minutes is now taking more than 25 minutes. The prior version works perfectly fine taking only couple minutes to scan the entire IaC.
Examples
Please share an example code sample (in the IaC of your choice) + the expected outcomes.
The below is just a sample, our code uses this approach for several resources that gets created in the IaC, several such list in different locals for different modules, approx > 100 elements
locals{
dynamodb = {
"${var.ddb_profdata}" : {
},
"${var.ddb_userdata}":{
},
"${
}
}
Version (please complete the following information):
https://github.com/bridgecrewio/checkov/pull/6852/files
Additional context
We are seeing lot of noise in output, the debug log size which generally is under 20 Mb is now 500 mb
Failed updating attribute for key: {key} and value {attribute_value} for
The text was updated successfully, but these errors were encountered: