VPC Properties

Hello team. Is there a way for me to form a query so that I can view all these attributes for one VPC?

  • VPC Peerings to that VPC
  • Subnets
  • SGs


  • crystralRamirez
    crystralRamirez ✭✭✭✭✭
    A query for something that is cloud agnostic:
    find Network that (contains|connects|has|allows) (Network|Firewall) return tree
    For Subtypes with AWS Example
    find aws_vpc that (contains|connects|has|allows) (aws_vpc|aws_subnet|aws_security_group) return tree
    Results returned as a list:
    find aws_vpc as vpc that (contains|connects|has) as relationship (aws_vpc|aws_subnet|aws_security_group) as type
    return vpc.displayName, relationship._type, type.displayName, type._type

This Month's Leaders