Skip to content

feat(misconf): support ID-based references for Azure resources in Terraform #10160

Description

@nikpivkin

Currently, Terraform adapters for Azure resources rely on name references (e.g., storage accounts, containers).

These name-based references are now deprecated. Adapters should support resource_id for finding related Azure resources, while keeping backward compatibility with name references.

Example:

resource "azurerm_storage_account_network_rules" "example1" {
  storage_account_id = azurerm_storage_account.account1.id

  default_action = "Deny"
}

Discussed in #10120

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.scan/misconfigurationIssues relating to misconfiguration scanning

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions