Setting the file. One moment.
Subchapter 16.14
examples/conversion/ec2-network-acl-should-have-subnet-ids/README.mdMarkdown970 BView on GitHub
ec2-network-acl-should-have-subnet-ids.sentinel
Limited
The Sentinel policy uses tfconfig/v2, reference metadata, and module-aware address reconstruction to determine whether a network ACL is connected through aws_network_acl_association. Current tfpolicy guidance does not expose equivalent reference metadata, so an exact translation is not possible.
The tfpolicy version checks either:
subnet_ids is present directly on the network ACL, oraws_network_acl_association can be found via core::getresources() and a value-based lookup