Control: Compute Networks should have auto create subnetwork enabled
Description
This control ensures that auto create subnetwork is enabled for Compute Network. Legacy network is not recommended, subnetworks cannot be created in a legacy network.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.compute_network_auto_create_subnetwork_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.compute_network_auto_create_subnetwork_enabled --share
SQL
This control uses a named query:
compute_network_auto_create_subnetwork_enabled