Skip to content

fix(parse): rename resource name to fix "failed to parse file content" error#7962

Open
cx-artur-ribeiro wants to merge 2 commits intomasterfrom
AST-0000-fix-terraform-parse-error
Open

fix(parse): rename resource name to fix "failed to parse file content" error#7962
cx-artur-ribeiro wants to merge 2 commits intomasterfrom
AST-0000-fix-terraform-parse-error

Conversation

@cx-artur-ribeiro
Copy link
Contributor

Closes #

Reason for Proposed Changes

  • While scanning kics assets/queries folder, we encounter the error "failed to parse file content" for the file assets/queries/terraform/azure/sql_database_without_data_encryption/test/negative.tf;
  • This is due to the resources having the same name in that specific file, which is not permitted by terraform.

Proposed Changes

  • rename the second resource name to example2;

I submit this contribution under the Apache-2.0 license.

@cx-artur-ribeiro cx-artur-ribeiro self-assigned this Feb 10, 2026
@cx-artur-ribeiro cx-artur-ribeiro requested a review from a team as a code owner February 10, 2026 12:28
@github-actions github-actions bot added query New query feature terraform Terraform query azure PR related with Azure Cloud labels Feb 10, 2026
@github-actions
Copy link
Contributor

kics-logo

KICS version: v2.1.18

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 1
Files parsed placeholder 1
Files failed to scan placeholder 0
Total executed queries placeholder 47
Queries failed to execute placeholder 0
Execution time placeholder 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azure PR related with Azure Cloud query New query feature terraform Terraform query

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant