gcp.router

GCP resource: https://cloud.google.com/compute/docs/reference/rest/v1/routers

Filters

Actions

delete

Deletes a router

Example

policies:
  - name: gcp-network-unattached-routers
    description: Deletes unattached Cloud Routers
    resource: gcp.router
    filters:
       - type: value
         key: interfaces
         value: absent
    actions:
       - delete
properties:
  type:
    enum:
    - delete
required:
- type