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
For example, the following TFPlan with two resources of type aws_s3_bucket, each of them with name this, as it's expected from the official aws_s3_bucket module:
This bug is an extension of #7265 , where the parser overwrites resources with the same type:
In this issue, when two resources have the same type and the same name, they are overwritten and only the last one is kept:
kics/pkg/parser/json/tfplan.go
Lines 70 to 73 in 67de28c
For example, the following TFPlan with two resources of type
aws_s3_bucket
, each of them with namethis
, as it's expected from the official aws_s3_bucket module:Maybe it could be considered to change the data model from a map identified by the resource name to a slice/array of resources.
The text was updated successfully, but these errors were encountered: